aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/vp9-02-size-34x34
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-05-04 23:01:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-19 21:24:22 +0200
commitdf0003030a979d7790180b3aa7e265e6f2b2fb1c (patch)
treed6b03155ddacada3d7ad02f1eb3f93bbee74b395 /tests/ref/fate/vp9-02-size-34x34
parent95b42188d6197c951738c491d3fddebf134d7755 (diff)
downloadffmpeg-df0003030a979d7790180b3aa7e265e6f2b2fb1c.tar.gz
avidec: avoid infinite loop due to negative ast->sample_size
If max in clean_index is set to a negative ast->sample_size, the following loop never ends: while (max < 1024) max += max; Thus set ast->sample_size to 0 if it would otherwise be negative. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ca234639ac49a0dc073ac1f10977979acdb94f97) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate/vp9-02-size-34x34')
0 files changed, 0 insertions, 0 deletions