Simplify
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:41:35 +0000 (21:41 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:41:35 +0000 (21:41 +0000)
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

index 6f382a34570939e4093949faad33daf628d03b8b..7b949421a08965eb7ab4e030b8357779920c3315 100644 (file)
@@ -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)