Commit ec2f3b1f authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/psd: Remove an uninitialized variable.

parent 6993bb4e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment