aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gsmdec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-28 00:30:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-01 23:25:21 +0200
commit427cf443ab1f905056399cbe19aa46107e275f98 (patch)
treeb512e348d0578a70ae56eee12907ba57379340a9 /libavformat/gsmdec.c
parentd818b8338c238f4b8dea7a4a13dd1e9b427d249e (diff)
downloadffmpeg-427cf443ab1f905056399cbe19aa46107e275f98.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 'libavformat/gsmdec.c')
0 files changed, 0 insertions, 0 deletions