mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
avformat/latmenc: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dd98d9d1ff
commit
77e37c34cb
@ -124,7 +124,7 @@ static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
|
|||||||
|
|
||||||
if (!ctx->channel_conf) {
|
if (!ctx->channel_conf) {
|
||||||
GetBitContext gb;
|
GetBitContext gb;
|
||||||
init_get_bits(&gb, avctx->extradata, avctx->extradata_size * 8);
|
init_get_bits8(&gb, avctx->extradata, avctx->extradata_size);
|
||||||
skip_bits_long(&gb, ctx->off + 3);
|
skip_bits_long(&gb, ctx->off + 3);
|
||||||
avpriv_copy_pce_data(bs, &gb);
|
avpriv_copy_pce_data(bs, &gb);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user