summaryrefslogtreecommitdiff
path: root/libavformat/iff.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-07-21 16:05:22 +0000
committerPaul B Mahol <onemda@gmail.com>2012-07-21 16:06:36 +0000
commit881e0de6407639774e10e02ac06ccdccd4886cd6 (patch)
treea0691a47e35ea59b5648d48382b0c84bd78ffbbb /libavformat/iff.c
parentad69e778b715b116ab003f127f9bb8be667ffc6d (diff)
iff: pass context to av_log_ask_for_sample
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index c502844c25..cd3d5be78b 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -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;