1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

avutil/frame: change av_frame_new_side_data() size parameter type to size_t

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2021-03-06 12:35:48 -03:00
parent 14040a1d91
commit dbd47b7990
3 changed files with 12 additions and 4 deletions

View File

@@ -725,7 +725,7 @@ AVFrameSideData *av_frame_new_side_data_from_buf(AVFrame *frame,
AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
enum AVFrameSideDataType type,
int size)
buffer_size_t size)
{
AVFrameSideData *ret;
AVBufferRef *buf = av_buffer_alloc(size);