Commit 388e1fc9 authored by Steven Liu's avatar Steven Liu

avcodec/psd: remove unneeded code

Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 36ed8ae5
......@@ -211,11 +211,9 @@ static int decode_header(PSDContext * s)
case 2:
avpriv_request_sample(s->avctx, "ZIP without predictor compression");
return AVERROR_PATCHWELCOME;
break;
case 3:
avpriv_request_sample(s->avctx, "ZIP with predictor compression");
return AVERROR_PATCHWELCOME;
break;
default:
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression %d.\n", s->compression);
return AVERROR_INVALIDDATA;
......
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