1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avformat/img2dec: Remove dead code from psd_probe()

Fixes CID1397124

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-12-21 22:03:55 +01:00
parent 9933579a9b
commit fd1fcb59dc

View File

@ -847,10 +847,7 @@ static int psd_probe(AVProbeData *p)
if ((color_mode <= 9) && (color_mode != 5) && (color_mode != 6))
ret += 1;
if (ret)
return AVPROBE_SCORE_EXTENSION + ret;
return 0;
return AVPROBE_SCORE_EXTENSION + ret;
}
static int sgi_probe(AVProbeData *p)