diff options
author | Roman Fietze <roman.fietze@telemotive.de> | 2014-04-03 12:46:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-03 13:49:13 +0200 |
commit | f5d718ac7e201551d16ea2a1d3f8ce202d91cf67 (patch) | |
tree | ad9bb1fdedf0b70c58bf3ba5527769516d1252fb /libavfilter | |
parent | 74aeb6b5847268ddc92bb013cbb39a9aa906ec2d (diff) | |
download | ffmpeg-streaming-f5d718ac7e201551d16ea2a1d3f8ce202d91cf67.zip ffmpeg-streaming-f5d718ac7e201551d16ea2a1d3f8ce202d91cf67.tar.gz |
avfilter.h, buffer.c: use const src pointer in avfilter_copy_buffer_ref_props
Signed-off-by: Roman Fietze <roman.fietze@telemotive.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.h | 2 | ||||
-rw-r--r-- | libavfilter/buffer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 086e9fe..9a6b277 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -199,7 +199,7 @@ typedef struct AVFilterBufferRef { * Copy properties of src to dst, without copying the actual data */ attribute_deprecated -void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *src); +void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, const AVFilterBufferRef *src); /** * Add a new reference to a buffer. diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c index a626184..885e9ca 100644 --- a/libavfilter/buffer.c +++ b/libavfilter/buffer.c @@ -150,7 +150,7 @@ int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) return 0; } -void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, AVFilterBufferRef *src) +void avfilter_copy_buffer_ref_props(AVFilterBufferRef *dst, const AVFilterBufferRef *src) { // copy common properties dst->pts = src->pts; |