diff options
-rw-r--r-- | libavformat/img2dec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 1ab13091fd..8c5e9d5d56 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -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) |