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