Browse Source

lavc/psd: Remove an uninitialized variable.

tags/n3.3
Carl Eugen Hoyos 8 years ago
parent
commit
ec2f3b1f57
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/psd.c

+ 2
- 2
libavcodec/psd.c View File

@@ -64,7 +64,7 @@ typedef struct PSDContext {


static int decode_header(PSDContext * s) static int decode_header(PSDContext * s)
{ {
int signature, version, color_mode, compression;
int signature, version, color_mode;
int64_t len_section; int64_t len_section;
int ret = 0; int ret = 0;


@@ -207,7 +207,7 @@ static int decode_header(PSDContext * s)
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
break; break;
default: 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; return AVERROR_INVALIDDATA;
} }




Loading…
Cancel
Save