summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-18 08:58:09 +0200
committerAnton Khirnov <anton@khirnov.net>2012-09-17 15:48:20 +0200
commit4e48aa86563279bf833b3ebcc2eaa1ff97189d91 (patch)
tree35bb77371463e04f5e1bb85c4973c1f781c7c7e2 /libavfilter/buffersrc.c
parent1fce361d70296cb9f8828f58bf26cd1ce4e8a47a (diff)
buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r--libavfilter/buffersrc.c2
1 files changed, 1 insertions, 1 deletions
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;