avformat/mxfenc: resurrects the error print

Fixes: CID1524681 Logically dead code

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/7.1
Michael Niedermayer 5 months ago
parent 4c285bb278
commit a469e48b6d
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 3
      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;

Loading…
Cancel
Save