aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-09 05:17:34 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-23 15:56:15 +0200
commite4cdde96b381f2b92ff65ce4793840f82b414157 (patch)
tree8f87808bed9a6e237f5388d98a13e9ba625405c0
parent252a0ccb80b40f1b3af99b0823d59d052940a26a (diff)
downloadffmpeg-e4cdde96b381f2b92ff65ce4793840f82b414157.tar.gz
avformat/cavsvideodec: Fix probing when the file extension is avs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 52e563bb2f7897d615391520c3c4acba1ee7dcb4) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/cavsvideodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c
index 5ca3c80b32..880f4ab534 100644
--- a/libavformat/cavsvideodec.c
+++ b/libavformat/cavsvideodec.c
@@ -61,7 +61,7 @@ static int cavsvideo_probe(AVProbeData *p)
}
}
if(seq && seq*9<=pic*10)
- return AVPROBE_SCORE_EXTENSION;
+ return AVPROBE_SCORE_EXTENSION+1;
return 0;
}