From 350ebef1128f111d4c5b9183e733daffc49570dd Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Sun, 22 Dec 2024 19:08:20 +1100 Subject: [PATCH] avformat/iff: remove surplus if statement Fixes CID 1636854 --- libavformat/iff.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/iff.c b/libavformat/iff.c index ab0488dd31..de58b93421 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -1007,8 +1007,6 @@ static int iff_read_packet(AVFormatContext *s, av_assert0(0); } - if (ret < 0) - return ret; return ret; }