lavfi: use proper FF_API guards for different deprecated functions
authorAnton Khirnov <anton@khirnov.net>
Tue, 26 Jun 2012 11:17:31 +0000 (13:17 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 26 Jun 2012 11:17:31 +0000 (13:17 +0200)
libavfilter/avfilter.c

index de059b7..c30b057 100644 (file)
@@ -448,6 +448,8 @@ int avfilter_default_config_output_link(AVFilterLink *link)
 {
     return 0;
 }
+#endif
+#if FF_API_FILTERS_PUBLIC
 void avfilter_insert_pad(unsigned idx, unsigned *count, size_t padidx_off,
                          AVFilterPad **pads, AVFilterLink ***links,
                          AVFilterPad *newpad)