[FFmpeg-cvslog] avformat/mxfenc: resurrects the error print
Michael Niedermayer
git at videolan.org
Tue Jul 2 23:01:16 EEST 2024
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Jun 7 00:55:46 2024 +0200| [a469e48b6dd8c9dfd0cd7dba7b28d1987168ed8b] | committer: Michael Niedermayer
avformat/mxfenc: resurrects the error print
Fixes: CID1524681 Logically dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a469e48b6dd8c9dfd0cd7dba7b28d1987168ed8b
---
libavformat/mxfenc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 7ba1fe061e..4ac6a2d715 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -2607,9 +2607,6 @@ static int mxf_parse_ffv1_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
ff_build_rac_states(&c, 0.05 * (1LL << 32), 256 - 8);
v = get_ffv1_unsigned_symbol(&c, state);
av_assert0(v >= 2);
- if (v > 4) {
- return 0;
- }
if (v > 4) {
av_log(s, AV_LOG_ERROR, "unsupported ffv1 version %d\n", v);
return 0;
More information about the ffmpeg-cvslog
mailing list