summaryrefslogtreecommitdiff
path: root/libavformat/img2dec.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-02-05 23:06:40 -0800
committerMichael Niedermayer <michaelni@gmx.at>2015-02-06 20:44:36 +0100
commite66a187638414874ceea4bf6809a61b1463afc5a (patch)
treec7871a30dc80aaa9b20d6cb74e12fab8b2c158d5 /libavformat/img2dec.c
parent9bc7ee8a9874be3c6a0e54d9a008c6d94f5b7c6e (diff)
downloadffmpeg-e66a187638414874ceea4bf6809a61b1463afc5a.tar.gz
img2dec: Remove dead code
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r--libavformat/img2dec.c4
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)