Commit fd1fcb59 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/img2dec: Remove dead code from psd_probe()

Fixes CID1397124
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9933579a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment