Unified · Split
| @@ -22,7 +22,9 @@ · 21 unmodified lines | |||
| 22 | 22 | ||
| 23 | #include "avfilter.h" | 23 | #include "avfilter.h" |
| 24 | #include "internal.h" | 24 | #include "internal.h" |
| 25 | #include "version.h" | ||
| 25 | 26 | ||
| 27 | #if FF_API_AVFILTERBUFFER | ||
| 26 | /* TODO: buffer pool. see comment for avfilter_default_get_video_buffer() */ | 28 | /* TODO: buffer pool. see comment for avfilter_default_get_video_buffer() */ |
| 27 | void ff_avfilter_default_free_buffer(AVFilterBuffer *ptr) | 29 | void ff_avfilter_default_free_buffer(AVFilterBuffer *ptr) |
| 28 | { | 30 | { |
| @@ -173,3 +175,4 @@ void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *s · 144 unmodified lines | |||
| 173 | default: break; | 175 | default: break; |
| 174 | } | 176 | } |
| 175 | } | 177 | } |
| 178 | #endif /* FF_API_AVFILTERBUFFER */ | ||
| @@ -26,6 +26,7 @@ · 25 unmodified lines | |||
| 26 | 26 | ||
| 27 | #include "avfilter.h" | 27 | #include "avfilter.h" |
| 28 | #include "thread.h" | 28 | #include "thread.h" |
| 29 | #include "version.h" | ||
| 29 | 30 | ||
| 30 | #if !FF_API_AVFILTERPAD_PUBLIC | 31 | #if !FF_API_AVFILTERPAD_PUBLIC |
| 31 | /** | 32 | /** |
| @@ -129,8 +130,10 @@ struct AVFilterInternal { · 97 unmodified lines | |||
| 129 | int *ret, int nb_jobs); | 130 | int *ret, int nb_jobs); |
| 130 | }; | 131 | }; |
| 131 | 132 | ||
| 133 | #if FF_API_AVFILTERBUFFER | ||
| 132 | /** default handler for freeing audio/video buffer when there are no references left */ | 134 | /** default handler for freeing audio/video buffer when there are no references left */ |
| 133 | void ff_avfilter_default_free_buffer(AVFilterBuffer *buf); | 135 | void ff_avfilter_default_free_buffer(AVFilterBuffer *buf); |
| 136 | #endif | ||
| 134 | 137 | ||
| 135 | /** Tell is a format is contained in the provided list terminated by -1. */ | 138 | /** Tell is a format is contained in the provided list terminated by -1. */ |
| 136 | int ff_fmt_is_in(int fmt, const int *fmts); | 139 | int ff_fmt_is_in(int fmt, const int *fmts); |