Unverified Commit feeeefc3 authored by Jerome Martinez's avatar Jerome Martinez Committed by Michael Niedermayer

avformat/mxfenc: reject unsupported ffv1 versions

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent f0cd5610
......@@ -2493,6 +2493,10 @@ static int mxf_parse_ffv1_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt)
if (v > 4) {
return 0;
}
if (v > 4) {
av_log(s, AV_LOG_ERROR, "unsupported ffv1 version %d\n", v);
return 0;
}
sc->micro_version = get_ffv1_unsigned_symbol(&c, state);
} else {
uint8_t keystate = 128;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment