aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-10-10 15:24:07 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-10-22 10:51:42 +0800
commit388e1fc9b5becce208c024c5f675890ab3a9adbe (patch)
tree6de9e320aa719d139da6a2a3de486ad343dd8707 /libavcodec
parent36ed8ae52cb7c9b140826a4eedf681ddc5dbe31d (diff)
downloadffmpeg-388e1fc9b5becce208c024c5f675890ab3a9adbe.tar.gz
avcodec/psd: remove unneeded code
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/psd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/psd.c b/libavcodec/psd.c
index a31f73857a..ae7ad4e559 100644
--- a/libavcodec/psd.c
+++ b/libavcodec/psd.c
@@ -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;