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
1 changed files with 1 additions and 4 deletions

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)