On 11/6/22, Michael Niedermayer <[email protected]> wrote: > Signed-off-by: Michael Niedermayer <[email protected]> > --- > libavcodec/bonk.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c > index f2427de4f1..c775ed5ddf 100644 > --- a/libavcodec/bonk.c > +++ b/libavcodec/bonk.c > @@ -169,8 +169,7 @@ static int intlist_read(BonkContext *s, int *buf, int > entries, int base_2_part) > return AVERROR_INVALIDDATA; > > if (!get_bits1(&s->gb)) { > - if (steplet < 0) > - break; > + av_assert0(steplet >= 0); > > if (steplet > 0) { > bits[x ].bit = dominant; > -- > 2.17.1 >
probably fine > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
