diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-04-28 00:30:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-28 03:32:29 +0200 |
commit | be7dc34bcf00b8c5b6503c600e7f6bc9324801ff (patch) | |
tree | 14c263aa2f68335c36ba4adcb9819a0751355ba2 /libavcodec/aac.h | |
parent | fb5f3241e40ddcd0686e727ddf925eb9e6065406 (diff) | |
download | ffmpeg-be7dc34bcf00b8c5b6503c600e7f6bc9324801ff.tar.gz |
apedec: set s->samples only when init_frame_decoder succeeded
Otherwise range_start_decoding is not necessarily run and thus
ctx->rc.range still 0 in range_dec_normalize leading to an infinite
loop.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 464c49155ce7ffc88ed39eb2511e7a75565c24be)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aac.h')
0 files changed, 0 insertions, 0 deletions