aboutsummaryrefslogtreecommitdiff
path: root/libavformat/raw.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/raw.c')
-rw-r--r--libavformat/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index aaff4e8407..7628b237c5 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -306,7 +306,7 @@ static int mpegvideo_probe(AVProbeData *p)
}
}
}
- if(seq && pic && slice && seq<pic && !pspack)
+ if(seq && seq*9<=pic*10 && pic*9<=slice*10 && !pspack)
return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
return 0;
}