summaryrefslogtreecommitdiff
path: root/libavfilter/vf_scale.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-29 17:40:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-11-29 17:40:53 +0000
commit8aeb33225aed5a0da03f9145a09ca1bbd6ac6532 (patch)
treea9d5433412201296b6bcb9e74687d9c8b5eb0701 /libavfilter/vf_scale.c
parentb8cef7be5c6bb2150d82ac64f00adfd2093cc913 (diff)
Use a valid log context for av_log().
Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/vf_scale.c')
-rw-r--r--libavfilter/vf_scale.c2
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;