summaryrefslogtreecommitdiff
path: root/libavcodec/interplayvideo.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-06-28 17:18:13 +0200
committerPaul B Mahol <onemda@gmail.com>2017-06-28 17:18:13 +0200
commitc1d1274bfc5672e37e2192f15be6a318ee7bb955 (patch)
tree6f9f85967bcef477a3e2755e0c89e2bab90ec17d /libavcodec/interplayvideo.c
parented782bebf508d4a27e1beaa040035bf84376f359 (diff)
avcodec/interplayvideo: return void
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/interplayvideo.c')
-rw-r--r--libavcodec/interplayvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c
index 8ccd20019f..9094ad6ae3 100644
--- a/libavcodec/interplayvideo.c
+++ b/libavcodec/interplayvideo.c
@@ -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);
}