diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavformat/latmenc.c')
-rw-r--r-- | chromium/third_party/ffmpeg/libavformat/latmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/libavformat/latmenc.c b/chromium/third_party/ffmpeg/libavformat/latmenc.c index 9dfb4e4fab2..b3430d785d3 100644 --- a/chromium/third_party/ffmpeg/libavformat/latmenc.c +++ b/chromium/third_party/ffmpeg/libavformat/latmenc.c @@ -124,7 +124,7 @@ static void latm_write_frame_header(AVFormatContext *s, PutBitContext *bs) if (!ctx->channel_conf) { 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); avpriv_copy_pce_data(bs, &gb); } |