diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-12-30 12:08:26 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2016-12-30 12:08:26 +0100 |
commit | ec2f3b1f57fd5fc01c8ddb0c927112a18bcd7cba (patch) | |
tree | 650eab0df026bcb9366c158ac6b11a6861693709 | |
parent | 6993bb4eb6c358c390f674a10f8a8ca69d9ee0fe (diff) | |
download | ffmpeg-ec2f3b1f57fd5fc01c8ddb0c927112a18bcd7cba.tar.gz |
lavc/psd: Remove an uninitialized variable.
-rw-r--r-- | libavcodec/psd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/psd.c b/libavcodec/psd.c index d5a4f52fd5..3181a41d48 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; } |