summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter')
-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 27fcdcb..95d2ef1 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;
OpenPOWER on IntegriCloud