aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-01 20:44:08 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-05 19:57:14 +0200
commit612d0782fc885aaa0bbb8f8966d425ea91a606cf (patch)
treec15dde6b5d6ab9cbe4421385a36b2f34ac86f1ff /libavfilter/avfilter.h
parente844abc4983385567cfca1a638877e19f0f1cfeb (diff)
downloadffmpeg-612d0782fc885aaa0bbb8f8966d425ea91a606cf.tar.gz
Add const to avfilter_get_video_buffer_ref_from_arrays arguments.
Avoids warning about discarding qualifiers in avcodec.c Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index e8e2a8b9d1..4ff68cd180 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -674,7 +674,7 @@ AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms,
* @param format the pixel format of the image specified by the data and linesize arrays
*/
AVFilterBufferRef *
-avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int perms,
+avfilter_get_video_buffer_ref_from_arrays(uint8_t * const data[4], const int linesize[4], int perms,
int w, int h, enum PixelFormat format);
/**