diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 12:35:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | dbd47b7990efb48dd2f8ab2d396a6aff2a98c250 (patch) | |
tree | 8fe586be72b630c09482c0dc08b4c4dde838de21 /libavutil/frame.h | |
parent | 14040a1d913794d9a3fd6406a6d8c2f0e37e0062 (diff) | |
download | ffmpeg-dbd47b7990efb48dd2f8ab2d396a6aff2a98c250.tar.gz |
avutil/frame: change av_frame_new_side_data() size parameter type to size_t
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 1aeafef6de..7d1f8e2935 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -220,7 +220,11 @@ enum AVActiveFormatDescription { typedef struct AVFrameSideData { enum AVFrameSideDataType type; uint8_t *data; +#if FF_API_BUFFER_SIZE_T int size; +#else + size_t size; +#endif AVDictionary *metadata; AVBufferRef *buf; } AVFrameSideData; @@ -913,7 +917,11 @@ AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane); */ AVFrameSideData *av_frame_new_side_data(AVFrame *frame, enum AVFrameSideDataType type, +#if FF_API_BUFFER_SIZE_T int size); +#else + size_t size); +#endif /** * Add a new side data to a frame from an existing AVBufferRef |