Commit 48af8781 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '71953ebc'

* commit '71953ebc':
  aac: Check init_get_bits return value

Conflicts:
	libavcodec/aacdec.c

See: 73abc3a6Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 783c674d 71953ebc
......@@ -2766,7 +2766,8 @@ static int aac_decode_frame(AVCodecContext *avctx, void *data,
if (INT_MAX / 8 <= buf_size)
return AVERROR_INVALIDDATA;
init_get_bits(&gb, buf, buf_size * 8);
if ((err = init_get_bits(&gb, buf, buf_size * 8)) < 0)
return err;
if ((err = aac_decode_frame_int(avctx, data, got_frame_ptr, &gb, avpkt)) < 0)
return err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment