diff options
author | Emanuel Czirai <zazdxscf@gmail.com> | 2015-08-03 00:58:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-20 14:38:28 +0200 |
commit | 33629ff60fb301c954718ce91a42b01a262406c8 (patch) | |
tree | e81560db57a3f022fb5090e054e69917ee932ef1 | |
parent | 43956940ea20b8f51ec6d34ced42c63f853072bb (diff) | |
download | ffmpeg-33629ff60fb301c954718ce91a42b01a262406c8.tar.gz |
libavcodec/aacdec_template: Use init_get_bits8() in aac_decode_frame()
related to ticket4749
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7ab1c57a64b629455805d7fa74a8a20c689fc1f6)
Conflicts:
libavcodec/aacdec_template.c
(cherry picked from commit dabb6dd98af52a22a922bca4a9196acf68b084dd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/aacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 4a8c2431b1..5f5e5f96c1 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -3096,7 +3096,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) { |