[FFmpeg-cvslog] img2dec: Remove dead code
Timothy Gu
git at videolan.org
Fri Feb 6 20:45:20 CET 2015
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Thu Feb 5 23:06:40 2015 -0800| [e66a187638414874ceea4bf6809a61b1463afc5a] | committer: Michael Niedermayer
img2dec: Remove dead code
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Reviewed-by: Carl Eugen Hoyos <cehoyos at ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e66a187638414874ceea4bf6809a61b1463afc5a
---
libavformat/img2dec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 1ab1309..8c5e9d5 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)
More information about the ffmpeg-cvslog
mailing list