You've already forked FFmpeg
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:
committed by
Anton Khirnov
parent
ee37d5811c
commit
3c8bff0740
@@ -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;
|
||||||
|
@@ -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 */
|
||||||
|
Reference in New Issue
Block a user