[FFmpeg-cvslog] avformat/latmenc: use init_get_bits8()
Michael Niedermayer
git at videolan.org
Mon Aug 5 10:41:15 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 5 10:12:46 2013 +0200| [77e37c34cbaa4e03d3088cbfbc21dc026813b371] | committer: Michael Niedermayer
avformat/latmenc: use init_get_bits8()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=77e37c34cbaa4e03d3088cbfbc21dc026813b371
---
libavformat/latmenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 9dfb4e4..b3430d7 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);
}
More information about the ffmpeg-cvslog
mailing list