Commit 36bdc7f0 authored by stefano's avatar stefano

Use a valid log context for av_log().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20659 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eab0bb53
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment