[FFmpeg-cvslog] iff: pass context to av_log_ask_for_sample

Paul B Mahol git at videolan.org
Sat Jul 21 18:07:45 CEST 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jul 21 16:05:22 2012 +0000| [881e0de6407639774e10e02ac06ccdccd4886cd6] | committer: Paul B Mahol

iff: pass context to av_log_ask_for_sample

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=881e0de6407639774e10e02ac06ccdccd4886cd6
---

 libavformat/iff.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/iff.c b/libavformat/iff.c
index c502844..cd3d5be 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;



More information about the ffmpeg-cvslog mailing list