aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3_parser.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-12 20:27:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-12 21:19:35 +0200
commitec38a1ba404b8cb8d71ccee2b8dcd6f3fcbde273 (patch)
tree3de4c6aa7838c242f2aec77799d5f6da583a2dbf /libavcodec/ac3_parser.c
parentd3c9f1fdbe055acdd6b47b85bfd04aaed2da8016 (diff)
downloadffmpeg-ec38a1ba404b8cb8d71ccee2b8dcd6f3fcbde273.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>
Diffstat (limited to 'libavcodec/ac3_parser.c')
0 files changed, 0 insertions, 0 deletions