Originally committed as revision 12056 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all
Unified · Split
| @@ -272,10 +272,8 @@ void avfilter_draw_slice(AVFilterLink *link, int y, int h) · 271 unmodified lines | ||
| 272 | 272 | } |
| 273 | 273 | } |
| 274 | 274 | |
| 275 | − if(!link_dpad(link).draw_slice) | |
| 276 | − return; | |
| 277 | − | |
| 278 | − link_dpad(link).draw_slice(link, y, h); | |
| 275 | + if(link_dpad(link).draw_slice) | |
| 276 | + link_dpad(link).draw_slice(link, y, h); | |
| 279 | 277 | } |
| 280 | 278 | |
| 281 | 279 | AVFilter *avfilter_get_by_name(const char *name) |