100000l (forgotten return)
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Aug 2007 17:05:12 +0000 (17:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Aug 2007 17:05:12 +0000 (17:05 +0000)
Originally committed as revision 10062 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/raw.c

index f2b0888..bf0a111 100644 (file)
@@ -434,7 +434,7 @@ static int ac3_probe(AVProbeData *p)
 static int flac_probe(AVProbeData *p)
 {
     if(memcmp(p->buf, "fLaC", 4)) return 0;
-    else                          AVPROBE_SCORE_MAX / 2;
+    else                          return AVPROBE_SCORE_MAX / 2;
 }
 
 AVInputFormat shorten_demuxer = {