diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-29 20:40:53 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-29 20:40:53 +0300 |
commit | 8aeb33225aed5a0da03f9145a09ca1bbd6ac6532 (patch) | |
tree | a9d5433412201296b6bcb9e74687d9c8b5eb0701 | |
parent | b8cef7be5c6bb2150d82ac64f00adfd2093cc913 (diff) |
Use a valid log context for av_log().
Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavfilter/vf_scale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 27fcdcb2cb..95d2ef1fec 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -154,7 +154,7 @@ static void draw_slice(AVFilterLink *link, int y, int h) 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; |