]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/img2dec.c
libavformat: DNxHD in .mov, switch unspecified color_range to mpeg
[ffmpeg] / libavformat / img2dec.c
old mode 100755 (executable)
new mode 100644 (file)
index 1ab1309..8c5e9d5
@@ -599,10 +599,8 @@ static int bmp_probe(AVProbeData *p)
 
     if (!AV_RN32(b + 6)) {
         return AVPROBE_SCORE_EXTENSION + 1;
-    } else {
-        return AVPROBE_SCORE_EXTENSION / 4;
     }
-    return 0;
+    return AVPROBE_SCORE_EXTENSION / 4;
 }
 
 static int dpx_probe(AVProbeData *p)