[FFmpeg-cvslog] libavcodec/aacdec_template: Use init_get_bits8() in aac_decode_frame()
Emanuel Czirai
git at videolan.org
Thu Nov 12 04:07:31 CET 2015
ffmpeg | branch: release/2.7 | Emanuel Czirai <zazdxscf at gmail.com> | Mon Aug 3 00:58:46 2015 +0200| [5e71f4aa6ad89dab73fd7cc30395c99ad2f11696] | committer: Michael Niedermayer
libavcodec/aacdec_template: Use init_get_bits8() in aac_decode_frame()
related to ticket4749
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 7ab1c57a64b629455805d7fa74a8a20c689fc1f6)
Conflicts:
libavcodec/aacdec_template.c
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5e71f4aa6ad89dab73fd7cc30395c99ad2f11696
---
libavcodec/aacdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 622cc5c..b8779c0 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -3178,7 +3178,7 @@ static int aac_decode_frame(AVCodecContext *avctx, void *data,
if (INT_MAX / 8 <= buf_size)
return AVERROR_INVALIDDATA;
- if ((err = init_get_bits(&gb, buf, buf_size * 8)) < 0)
+ if ((err = init_get_bits8(&gb, buf, buf_size)) < 0)
return err;
switch (ac->oc[1].m4ac.object_type) {
More information about the ffmpeg-cvslog
mailing list