diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-18 08:58:09 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-09-17 15:48:20 +0200 |
commit | 4e48aa86563279bf833b3ebcc2eaa1ff97189d91 (patch) | |
tree | 35bb77371463e04f5e1bb85c4973c1f781c7c7e2 /libavfilter/buffersrc.h | |
parent | 1fce361d70296cb9f8828f58bf26cd1ce4e8a47a (diff) | |
download | ffmpeg-4e48aa86563279bf833b3ebcc2eaa1ff97189d91.tar.gz |
buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame()
Diffstat (limited to 'libavfilter/buffersrc.h')
-rw-r--r-- | libavfilter/buffersrc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index ca82a75df8..452c691b09 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -45,6 +45,6 @@ int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf); * @warning frame data will be memcpy()ed, which may be a big performance * hit. Use av_buffersrc_buffer() to avoid copying the data. */ -int av_buffersrc_write_frame(AVFilterContext *s, AVFrame *frame); +int av_buffersrc_write_frame(AVFilterContext *s, const AVFrame *frame); #endif /* AVFILTER_BUFFERSRC_H */ |