ffmpeg | branch: master | Steven Liu <[email protected]> | Thu Oct 10 
15:24:07 2019 +0800| [388e1fc9b5becce208c024c5f675890ab3a9adbe] | committer: 
Steven Liu

avcodec/psd: remove unneeded code

Signed-off-by: Steven Liu <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to