mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
latmenc: Document assumptions when copying the AAC header.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
0c1e9c2d6a
commit
eb24def465
@ -111,6 +111,8 @@ static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
|
||||
header_size = avctx->extradata_size-(ctx->off >> 3);
|
||||
avpriv_copy_bits(bs, &avctx->extradata[ctx->off >> 3], header_size);
|
||||
} else {
|
||||
// + 3 assumes not scalable and dependsOnCoreCoder == 0,
|
||||
// see decode_ga_specific_config in libavcodec/aacdec.c
|
||||
avpriv_copy_bits(bs, avctx->extradata, ctx->off + 3);
|
||||
|
||||
if (!ctx->channel_conf) {
|
||||
|
Loading…
Reference in New Issue
Block a user