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-25 16:35:25 +0200
commitb93659db5bbe326cda0630883724117a23944f68 (patch)
treea054968cd0a5355e7704b110e40d525af3cce6a7
parentb94621ac6ba6ab12476c81218c88f43bd2f1d27b (diff)
downloadffmpeg-b93659db5bbe326cda0630883724117a23944f68.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;
}