mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00:00
lavc/psd: Remove an uninitialized variable.
This commit is contained in:
parent
6993bb4eb6
commit
ec2f3b1f57
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user