summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:08:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:08:19 +0200
commit7b0d362567983c7b22db98177be721bfe4bfec6e (patch)
tree4e0c1a787e0dd053b2dcb42acccb062e10a9017a /libavfilter/internal.h
parent8836b41a782ff832bc9ff500d2f0b54e309475a3 (diff)
libavfilter: make ff_null_start_frame_keep_ref() a non static inline function.
Its only used through the start_frame pointer and thus cannot be inlined easily. It also appears to break compilation with some unidentified compiler on darwin. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index c208edf229..2b997301e7 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -27,6 +27,7 @@
#include "avfilter.h"
#include "avfiltergraph.h"
#include "formats.h"
+#include "video.h"
#define POOL_SIZE 32
typedef struct AVFilterPool {
@@ -119,15 +120,6 @@ int ff_parse_sample_format(int *ret, const char *arg, void *log_ctx);
*/
int ff_parse_channel_layout(int64_t *ret, const char *arg, void *log_ctx);
-/**
- * Pass video frame along and keep an internal reference for later use.
- */
-static inline void ff_null_start_frame_keep_ref(AVFilterLink *inlink,
- AVFilterBufferRef *picref)
-{
- avfilter_start_frame(inlink->dst->outputs[0], avfilter_ref_buffer(picref, ~0));
-}
-
void ff_update_link_current_pts(AVFilterLink *link, int64_t pts);
void ff_free_pool(AVFilterPool *pool);