mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
parent
4fa04d6a37
commit
4f6e32b510
@ -263,7 +263,7 @@ API_EXPORT void API_CALL mk_media_input_yuv(mk_media ctx, const char *yuv[3], in
|
|||||||
}
|
}
|
||||||
|
|
||||||
API_EXPORT int API_CALL mk_media_input_aac(mk_media ctx, const void *data, int len, uint64_t dts, void *adts) {
|
API_EXPORT int API_CALL mk_media_input_aac(mk_media ctx, const void *data, int len, uint64_t dts, void *adts) {
|
||||||
assert(ctx && data && len > 0 && adts);
|
assert(ctx && data && len > 0);
|
||||||
MediaHelper::Ptr *obj = (MediaHelper::Ptr *) ctx;
|
MediaHelper::Ptr *obj = (MediaHelper::Ptr *) ctx;
|
||||||
return (*obj)->getChannel()->inputAAC((const char *) data, len, dts, (char *) adts);
|
return (*obj)->getChannel()->inputAAC((const char *) data, len, dts, (char *) adts);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user