Commit f5d718ac authored by Roman Fietze's avatar Roman Fietze Committed by Michael Niedermayer

avfilter.h, buffer.c: use const src pointer in avfilter_copy_buffer_ref_props

Signed-off-by: 's avatarRoman Fietze <roman.fietze@telemotive.de>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 74aeb6b5
......@@ -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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment