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:
parent
9933579a9b
commit
fd1fcb59dc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user