[FFmpeg-cvslog] avformat/cavsvideodec: Fix probing when the file extension is avs
Michael Niedermayer
git at videolan.org
Mon Jun 23 16:02:55 CEST 2014
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 9 05:17:34 2014 +0200| [e4cdde96b381f2b92ff65ce4793840f82b414157] | committer: Michael Niedermayer
avformat/cavsvideodec: Fix probing when the file extension is avs
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 52e563bb2f7897d615391520c3c4acba1ee7dcb4)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4cdde96b381f2b92ff65ce4793840f82b414157
---
libavformat/cavsvideodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c
index 5ca3c80..880f4ab 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;
}
More information about the ffmpeg-cvslog
mailing list