aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2013-07-30 17:39:07 +0200
committerAnton Khirnov <anton@khirnov.net>2013-08-01 09:41:45 +0200
commit3c8bff0740abb3785968823429e77bd41c65debf (patch)
treead5b942e4ef1a1b24965479ad1f82cf1257be53c /libavutil
parentee37d5811caa8f4ad125a37fe6ce3f9e66cd72f2 (diff)
downloadffmpeg-3c8bff0740abb3785968823429e77bd41c65debf.tar.gz
avframe: have av_frame_get_side_data take const AVFrame*
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 cf60eb3229..098bbed056 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -465,7 +465,7 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
return ret;
}
-AVFrameSideData *av_frame_get_side_data(AVFrame *frame,
+AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
enum AVFrameSideDataType type)
{
int i;
diff --git a/libavutil/frame.h b/libavutil/frame.h
index adc23b2ecc..d71948db09 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -485,7 +485,7 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
* @return a pointer to the side data of a given type on success, NULL if there
* is no side data with such type in this frame.
*/
-AVFrameSideData *av_frame_get_side_data(AVFrame *frame,
+AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
enum AVFrameSideDataType type);
#endif /* AVUTIL_FRAME_H */