diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-06-07 00:55:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-07-02 21:57:23 +0200 |
commit | a469e48b6dd8c9dfd0cd7dba7b28d1987168ed8b (patch) | |
tree | 9141acf66e4b5c0f87c1fbd8569e0a3906d22523 | |
parent | 4c285bb2789667bcf014ede8b0ab06ebbbee833f (diff) | |
download | ffmpeg-a469e48b6dd8c9dfd0cd7dba7b28d1987168ed8b.tar.gz |
avformat/mxfenc: resurrects the error print
Fixes: CID1524681 Logically dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/mxfenc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 7ba1fe061e..4ac6a2d715 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -2608,9 +2608,6 @@ static int mxf_parse_ffv1_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt) 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; } |