[FFmpeg-cvslog] avcodec/psd: remove unneeded code
Steven Liu
git at videolan.org
Tue Oct 22 06:20:25 EEST 2019
ffmpeg | branch: master | Steven Liu <lq at chinaffmpeg.org> | Thu Oct 10 15:24:07 2019 +0800| [388e1fc9b5becce208c024c5f675890ab3a9adbe] | committer: Steven Liu
avcodec/psd: remove unneeded code
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=388e1fc9b5becce208c024c5f675890ab3a9adbe
---
libavcodec/psd.c | 2 --
1 file changed, 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;
More information about the ffmpeg-cvslog
mailing list