summaryrefslogtreecommitdiff
path: root/ffmpeg/libavformat/bethsoftvid.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavformat/bethsoftvid.c')
-rw-r--r--ffmpeg/libavformat/bethsoftvid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg/libavformat/bethsoftvid.c b/ffmpeg/libavformat/bethsoftvid.c
index b8f08c1..6b84b79 100644
--- a/ffmpeg/libavformat/bethsoftvid.c
+++ b/ffmpeg/libavformat/bethsoftvid.c
@@ -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;
}