avformat: use the buffer_size_t typedef where required

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2021-03-06 13:29:54 -03:00
parent d8a18c8fc2
commit e07126f54a
16 changed files with 36 additions and 25 deletions

View File

@@ -5698,7 +5698,7 @@ int ff_standardize_creation_time(AVFormatContext *s)
int ff_get_packet_palette(AVFormatContext *s, AVPacket *pkt, int ret, uint32_t *palette)
{
uint8_t *side_data;
int size;
buffer_size_t size;
side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_PALETTE, &size);
if (side_data) {