Commit a6cd817a authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/msf: Also check the codec tag in probing

Fixes probing failure
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bb8cc89b
......@@ -34,6 +34,9 @@ static int msf_probe(AVProbeData *p)
if (AV_RB32(p->buf+16) <= 0)
return 0;
if (AV_RB32(p->buf+4) > 16)
return AVPROBE_SCORE_MAX / 5; //unsupported / unknown codec
return AVPROBE_SCORE_MAX / 3 * 2;
}
......
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