mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
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
Block a user