1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

avframe: have av_frame_get_side_data take const AVFrame*

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Vittorio Giovara
2013-07-30 17:39:07 +02:00
committed by Anton Khirnov
parent ee37d5811c
commit 3c8bff0740
2 changed files with 2 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
return ret; return ret;
} }
AVFrameSideData *av_frame_get_side_data(AVFrame *frame, AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
enum AVFrameSideDataType type) enum AVFrameSideDataType type)
{ {
int i; int i;

View File

@@ -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 * @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. * 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); enum AVFrameSideDataType type);
#endif /* AVUTIL_FRAME_H */ #endif /* AVUTIL_FRAME_H */