Browse Source

avframe: have av_frame_get_side_data take const AVFrame*

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n2.1
Vittorio Giovara Anton Khirnov 12 years ago
parent
commit
3c8bff0740
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavutil/frame.c
  2. +1
    -1
      libavutil/frame.h

+ 1
- 1
libavutil/frame.c View File

@@ -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;


+ 1
- 1
libavutil/frame.h 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
* 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 */

Loading…
Cancel
Save