mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-15 19:08:54 +00:00
30 lines
508 B
C
30 lines
508 B
C
/*
|
|
* Copyright (C) 2020-2024 ArtInChip Technology Co. Ltd
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Author: <jun.ma@artinchip.com>
|
|
* Desc: aic muxer
|
|
*/
|
|
|
|
|
|
#include <string.h>
|
|
|
|
#include "aic_mp4_muxer.h"
|
|
|
|
|
|
|
|
s32 aic_muxer_create(unsigned char *uri, struct aic_muxer **muxer, enum aic_muxer_type type)
|
|
{
|
|
if (uri == NULL) {
|
|
return -1;
|
|
}
|
|
|
|
if (type == AIC_MUXER_TYPE_MP4) {
|
|
return aic_mp4_muxer_create(uri, muxer);
|
|
}
|
|
|
|
logw("unkown muxer for (%s)", uri);
|
|
return -1;
|
|
}
|