You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-11 14:30:22 +02:00
avformat/bethsoftvid: check 4th header byte in probe
Fixes probetest failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -61,6 +61,9 @@ static int vid_probe(AVProbeData *p)
|
||||
if (AV_RL32(p->buf) != MKTAG('V', 'I', 'D', 0))
|
||||
return 0;
|
||||
|
||||
if (p->buf[4] != 2)
|
||||
return AVPROBE_SCORE_MAX / 4;
|
||||
|
||||
return AVPROBE_SCORE_MAX;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user