From 2da16f288a4dfb0365e955c2e15caa3f1fbb99da Mon Sep 17 00:00:00 2001 From: Jai Menon Date: Fri, 8 Jan 2010 14:45:24 +0000 Subject: [PATCH] Snow : use non-NULL context for av_log. Originally committed as revision 21089 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/snow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 8c79709..76f0b35 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -4016,7 +4016,7 @@ static void iterative_me(SnowContext *s){ } } } - av_log(NULL, AV_LOG_ERROR, "pass:%d changed:%d\n", pass, change); + av_log(s->avctx, AV_LOG_ERROR, "pass:%d changed:%d\n", pass, change); if(!change) break; } @@ -4058,7 +4058,7 @@ static void iterative_me(SnowContext *s){ change++; } } - av_log(NULL, AV_LOG_ERROR, "pass:4mv changed:%d\n", change*4); + av_log(s->avctx, AV_LOG_ERROR, "pass:4mv changed:%d\n", change*4); } } -- 2.7.4