mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/bonk: actual_run seems not able to become negative
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
00b489b168
commit
5df8c300a9
|
@ -184,8 +184,7 @@ static int intlist_read(BonkContext *s, int *buf, int entries, int base_2_part)
|
|||
} else if (steplet > 0) {
|
||||
int actual_run = read_uint_max(s, steplet - 1);
|
||||
|
||||
if (actual_run < 0)
|
||||
break;
|
||||
av_assert0(actual_run >= 0);
|
||||
|
||||
if (actual_run > 0) {
|
||||
bits[x ].bit = dominant;
|
||||
|
|
Loading…
Reference in New Issue