[FFmpeg-devel] [PATCH] avformat/iff: remove surplus if statement
Peter Ross
pross at xvid.org
Sun Dec 22 10:08:20 EET 2024
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;
}
--
2.45.2
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241222/83bdab9f/attachment.sig>
More information about the ffmpeg-devel
mailing list