From ce657d80ccc596ce1c3f4783b4bc7d7c07934c61 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 21:41:35 +0000 Subject: [PATCH] Simplify Commited in SoC by Vitor Sessak on 2008-02-11 17:35:13 Originally committed as revision 12056 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 6f382a3457..7b949421a0 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -272,10 +272,8 @@ void avfilter_draw_slice(AVFilterLink *link, int y, int h) } } - if(!link_dpad(link).draw_slice) - return; - - link_dpad(link).draw_slice(link, y, h); + if(link_dpad(link).draw_slice) + link_dpad(link).draw_slice(link, y, h); } AVFilter *avfilter_get_by_name(const char *name)