mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/psd: remove unneeded code
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
parent
36ed8ae52c
commit
388e1fc9b5
|
@ -211,11 +211,9 @@ static int decode_header(PSDContext * s)
|
||||||
case 2:
|
case 2:
|
||||||
avpriv_request_sample(s->avctx, "ZIP without predictor compression");
|
avpriv_request_sample(s->avctx, "ZIP without predictor compression");
|
||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
break;
|
|
||||||
case 3:
|
case 3:
|
||||||
avpriv_request_sample(s->avctx, "ZIP with predictor compression");
|
avpriv_request_sample(s->avctx, "ZIP with predictor compression");
|
||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression %d.\n", s->compression);
|
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression %d.\n", s->compression);
|
||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
|
|
Loading…
Reference in New Issue