[FFmpeg-cvslog] avformat/iff: remove surplus if statement

Peter Ross git at videolan.org
Sun Dec 22 13:28:32 EET 2024


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sun Dec 22 19:08:20 2024 +1100| [350ebef1128f111d4c5b9183e733daffc49570dd] | committer: Leo Izen

avformat/iff: remove surplus if statement

Fixes CID 1636854

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=350ebef1128f111d4c5b9183e733daffc49570dd
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list