diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-10 03:08:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-10 03:08:19 +0200 |
commit | 7b0d362567983c7b22db98177be721bfe4bfec6e (patch) | |
tree | 4e0c1a787e0dd053b2dcb42acccb062e10a9017a /libavfilter/video.c | |
parent | 8836b41a782ff832bc9ff500d2f0b54e309475a3 (diff) | |
download | ffmpeg-7b0d362567983c7b22db98177be721bfe4bfec6e.tar.gz |
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/video.c')
-rw-r--r-- | libavfilter/video.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c index d443885df2..f23592e907 100644 --- a/libavfilter/video.c +++ b/libavfilter/video.c @@ -215,6 +215,12 @@ void ff_start_frame(AVFilterLink *link, AVFilterBufferRef *picref) ff_update_link_current_pts(link, link->cur_buf->pts); } +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_null_end_frame(AVFilterLink *link) { ff_end_frame(link->dst->outputs[0]); |