[FFmpeg-devel] [PATCH 1/3] vcodec/lagarith: Remove duplicate check
Michael Niedermayer
michael at niedermayer.cc
Mon Dec 24 02:14:49 EET 2018
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavcodec/lagarith.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index 5763504b71..59169be5de 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -669,9 +669,6 @@ static int lag_decode_frame(AVCodecContext *avctx,
if ((ret = ff_thread_get_buffer(avctx, &frame, 0)) < 0)
return ret;
- if (buf_size <= offset_ry || buf_size <= offset_gu || buf_size <= offset_bv) {
- return AVERROR_INVALIDDATA;
- }
if (offset_ry >= buf_size ||
offset_gu >= buf_size ||
--
2.20.1
More information about the ffmpeg-devel
mailing list