[FFmpeg-cvslog] r20659 - trunk/libavfilter/vf_scale.c

stefano subversion
Sun Nov 29 18:40:54 CET 2009


Author: stefano
Date: Sun Nov 29 18:40:53 2009
New Revision: 20659

Log:
Use a valid log context for av_log().

Modified:
   trunk/libavfilter/vf_scale.c

Modified: trunk/libavfilter/vf_scale.c
==============================================================================
--- trunk/libavfilter/vf_scale.c	Sun Nov 29 16:15:53 2009	(r20658)
+++ trunk/libavfilter/vf_scale.c	Sun Nov 29 18:40:53 2009	(r20659)
@@ -154,7 +154,7 @@ static void draw_slice(AVFilterLink *lin
 
     if (!scale->slice_dir) {
         if (y != 0 && y + h != link->h) {
-            av_log(scale, AV_LOG_ERROR, "Slices start in the middle!\n");
+            av_log(link->dst, AV_LOG_ERROR, "Slices start in the middle!\n");
             return;
         }
         scale->slice_dir = y ?                       -1 : 1;



More information about the ffmpeg-cvslog mailing list