aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-07 07:15:06 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-07 14:23:36 +0200
commit8134fafe9bdda58e24a9574c251ed3a9b5809c51 (patch)
tree0fbb85b7b5d2feeab3657bc52a350a814f57da2c /libavfilter/avfilter.h
parent1432c1c429fb4817ca0d309096ea40a9d03c1035 (diff)
downloadffmpeg-8134fafe9bdda58e24a9574c251ed3a9b5809c51.tar.gz
lavfi: uninline avfilter_copy_buffer_ref_props().
A nontrivial public function such as this should most certainly NOT be inline.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 89ab7dbe2a..c2049f98fe 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -145,18 +145,7 @@ typedef struct AVFilterBufferRef {
/**
* Copy properties of src to dst, without copying the actual data
*/
-static inline void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *src)
-{
- // copy common properties
- dst->pts = src->pts;
- dst->pos = src->pos;
-
- switch (src->type) {
- case AVMEDIA_TYPE_VIDEO: *dst->video = *src->video; break;
- case AVMEDIA_TYPE_AUDIO: *dst->audio = *src->audio; break;
- default: break;
- }
-}
+void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *src);
/**
* Add a new reference to a buffer.