summaryrefslogtreecommitdiff
path: root/libavformat/latmenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-05 10:12:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-05 10:12:46 +0200
commit77e37c34cbaa4e03d3088cbfbc21dc026813b371 (patch)
tree6cc624f4f1bf4ddc5057b6c0c24017c06db35f48 /libavformat/latmenc.c
parentdd98d9d1ff88b5dcd413e8d5359aaaf478de32e5 (diff)
downloadffmpeg-77e37c34cbaa4e03d3088cbfbc21dc026813b371.tar.gz
avformat/latmenc: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/latmenc.c')
-rw-r--r--libavformat/latmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 9dfb4e4fab..b3430d785d 100644
--- a/libavformat/latmenc.c
+++ b/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);
}