[FFmpeg-cvslog] vf_mandelbrot: give all av_log a context

Michael Niedermayer git at videolan.org
Fri Nov 23 18:17:12 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 23 18:05:16 2012 +0100| [c322f19855df10f9ceaf3f15a3c0d9d3b78c7279] | committer: Michael Niedermayer

vf_mandelbrot: give all av_log a context

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/vsrc_mandelbrot.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 68a9cf7..4d08890 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -376,7 +376,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
     FFSWAP(void*, mb->next_cache, mb->point_cache);
     mb->cache_used = next_cidx;
     if(mb->cache_used == mb->cache_allocated)
-        av_log(0, AV_LOG_INFO, "Mandelbrot cache is too small!\n");
+        av_log(ctx, AV_LOG_INFO, "Mandelbrot cache is too small!\n");
 }
 
 static int request_frame(AVFilterLink *link)



More information about the ffmpeg-cvslog mailing list