vf_drawbox: give all v_log() a context
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Jun 2013 22:53:32 +0000 (00:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Jun 2013 22:54:08 +0000 (00:54 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_drawbox.c

index d669dfb..7dff875 100644 (file)
@@ -190,7 +190,7 @@ static int config_input(AVFilterLink *inlink)
     return 0;
 
 fail:
-    av_log(NULL, AV_LOG_ERROR,
+    av_log(ctx, AV_LOG_ERROR,
            "Error when evaluating the expression '%s'.\n",
            expr);
     return ret;