aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 21:41:35 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 21:41:35 +0000
commitce657d80ccc596ce1c3f4783b4bc7d7c07934c61 (patch)
treeaae957478732bf250311a4709ca94ee126044f21
parentc245ddf23fdf4dd39e74a603887c1773b0e6bc3e (diff)
downloadffmpeg-ce657d80ccc596ce1c3f4783b4bc7d7c07934c61.tar.gz
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
-rw-r--r--libavfilter/avfilter.c6
1 files 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)