[FFmpeg-cvslog] avformat/cavsvideodec: Fix probing when the file extension is avs

Michael Niedermayer git at videolan.org
Mon Jun 9 05:52:27 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun  9 05:17:34 2014 +0200| [52e563bb2f7897d615391520c3c4acba1ee7dcb4] | committer: Michael Niedermayer

avformat/cavsvideodec: Fix probing when the file extension is avs

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=52e563bb2f7897d615391520c3c4acba1ee7dcb4
---

 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