Commit 8aeb3322 authored by Stefano Sabatini's avatar Stefano Sabatini

Use a valid log context for av_log().

Originally committed as revision 20659 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b8cef7be
......@@ -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