mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
iff: pass context to av_log_ask_for_sample
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
ad69e778b7
commit
881e0de640
@ -237,7 +237,7 @@ static int iff_read_header(AVFormatContext *s)
|
||||
else if (fmt_size == sizeof(deep_rgba) && !memcmp(fmt, deep_rgba, sizeof(deep_rgba)))
|
||||
st->codec->pix_fmt = PIX_FMT_RGBA;
|
||||
else {
|
||||
av_log_ask_for_sample(NULL, "unsupported color format\n");
|
||||
av_log_ask_for_sample(s, "unsupported color format\n");
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user