Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>
---
 libavcodec/mv30.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/mv30.c b/libavcodec/mv30.c
index 9f28199478..5bfe4b0614 100644
--- a/libavcodec/mv30.c
+++ b/libavcodec/mv30.c
@@ -379,9 +379,6 @@ static int decode_coeffs(GetBitContext *gb, int16_t 
*coeffs, int nb_codes)
     for (int i = 0; i < nb_codes;) {
         int value = get_vlc2(gb, cbp_tab.table, cbp_tab.bits, 1);
 
-        if (value < 0)
-            return AVERROR_INVALIDDATA;
-
         if (value > 0) {
             int x = get_bits(gb, value);
 
-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to