diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 15:40:58 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | 42e68fe01587b541c9ced34906b09e3c9c894e74 (patch) | |
tree | 17a25fedab0cb35f7b05ab1691faec4f97cf753c /libavformat/utils.c | |
parent | d79e0fe65c51491f9bf8a470bbe36fb09f3e1280 (diff) | |
download | ffmpeg-42e68fe01587b541c9ced34906b09e3c9c894e74.tar.gz |
avformat/utils: change AVStream side data related public function and struct size types to size_t
av_stream_add_side_data() already defines size as a size_t, so this makes it
consistent across all side data functions.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 36164e0f0d..98e6c55602 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -5471,7 +5471,7 @@ int ff_generate_avci_extradata(AVStream *st) } uint8_t *av_stream_get_side_data(const AVStream *st, - enum AVPacketSideDataType type, int *size) + enum AVPacketSideDataType type, buffer_size_t *size) { int i; @@ -5524,7 +5524,7 @@ int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type, } uint8_t *av_stream_new_side_data(AVStream *st, enum AVPacketSideDataType type, - int size) + buffer_size_t size) { int ret; uint8_t *data = av_malloc(size); |