summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/frame.c2
-rw-r--r--libavutil/frame.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c
index c905e8d611..f420a6e187 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -600,7 +600,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
return frame_copy_props(dst, src, 1);
}
-AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane)
+AVBufferRef *av_frame_get_plane_buffer(const AVFrame *frame, int plane)
{
uint8_t *data;
int planes;
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 5b58c14ac3..f85d630c5c 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -901,7 +901,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src);
* @return the buffer reference that contains the plane or NULL if the input
* frame is not valid.
*/
-AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane);
+AVBufferRef *av_frame_get_plane_buffer(const AVFrame *frame, int plane);
/**
* Add a new side data to a frame.