From 4e48aa86563279bf833b3ebcc2eaa1ff97189d91 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 18 Aug 2012 08:58:09 +0200 Subject: buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() --- libavfilter/buffersrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/buffersrc.c') diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index e91d2e470b..ce897f5f5b 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -70,7 +70,7 @@ typedef struct { return AVERROR(EINVAL);\ } -int av_buffersrc_write_frame(AVFilterContext *buffer_filter, AVFrame *frame) +int av_buffersrc_write_frame(AVFilterContext *buffer_filter, const AVFrame *frame) { BufferSourceContext *c = buffer_filter->priv; AVFilterBufferRef *buf; -- cgit v1.2.3