Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/bonk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c
index b56a940681..e825a40d79 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;