avcodec/interplayvideo: return void
authorPaul B Mahol <onemda@gmail.com>
Wed, 28 Jun 2017 15:18:13 +0000 (17:18 +0200)
committerPaul B Mahol <onemda@gmail.com>
Wed, 28 Jun 2017 15:18:13 +0000 (17:18 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/interplayvideo.c

index 8ccd200..9094ad6 100644 (file)
@@ -1070,7 +1070,7 @@ static void ipvideo_decode_format_10_opcodes(IpvideoContext *s, AVFrame *frame)
                     break;
                 }
                 if (bytestream2_get_bytes_left(&skip_map_ptr) < 2)
-                    return AVERROR_INVALIDDATA;
+                    return;
                 skip = bytestream2_get_le16(&skip_map_ptr);
             }