ffmpeg | branch: master | Carl Eugen Hoyos <ceho...@ag.or.at> | Fri Dec 30 
12:08:26 2016 +0100| [ec2f3b1f57fd5fc01c8ddb0c927112a18bcd7cba] | committer: 
Carl Eugen Hoyos

lavc/psd: Remove an uninitialized variable.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec2f3b1f57fd5fc01c8ddb0c927112a18bcd7cba
---

 libavcodec/psd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/psd.c b/libavcodec/psd.c
index d5a4f52..3181a41 100644
--- a/libavcodec/psd.c
+++ b/libavcodec/psd.c
@@ -64,7 +64,7 @@ typedef struct PSDContext {
 
 static int decode_header(PSDContext * s)
 {
-    int signature, version, color_mode, compression;
+    int signature, version, color_mode;
     int64_t len_section;
     int ret = 0;
 
@@ -207,7 +207,7 @@ static int decode_header(PSDContext * s)
         return AVERROR_PATCHWELCOME;
         break;
     default:
-        av_log(s->avctx, AV_LOG_ERROR, "Unknown compression %d.\n", 
compression);
+        av_log(s->avctx, AV_LOG_ERROR, "Unknown compression %d.\n", 
s->compression);
         return AVERROR_INVALIDDATA;
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to