diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-05-12 20:27:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-01 23:25:20 +0200 |
commit | de648a11d8688ff4b0d02cf7e78bea870a5ea903 (patch) | |
tree | a62e5d172a63e1a7a958a3f528a7c7dd1b5691f2 /libavcodec/lpc.c | |
parent | f30ab69b38324d156f0511c2c59a4f0d232c2b88 (diff) | |
download | ffmpeg-de648a11d8688ff4b0d02cf7e78bea870a5ea903.tar.gz |
aacdec: don't return frames without data
Since commit 676a395a aac->frame->data is not necessarily allocated at
the end of aac_decode_frame_int if avctx->channels is 0.
In this case a bogus frame without any data, but non-zero nb_samples is
returned.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ec38a1ba404b8cb8d71ccee2b8dcd6f3fcbde273)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lpc.c')
0 files changed, 0 insertions, 0 deletions