From e07126f54a11cbfc23288f2e15508872da17f81b Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 6 Mar 2021 13:29:54 -0300 Subject: avformat: use the buffer_size_t typedef where required Signed-off-by: James Almer --- libavformat/srtenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/srtenc.c') diff --git a/libavformat/srtenc.c b/libavformat/srtenc.c index d811a4da0e..484dd4d230 100644 --- a/libavformat/srtenc.c +++ b/libavformat/srtenc.c @@ -61,7 +61,8 @@ static int srt_write_packet(AVFormatContext *avf, AVPacket *pkt) SRTContext *srt = avf->priv_data; int64_t s = pkt->pts, e, d = pkt->duration; - int size, x1 = -1, y1 = -1, x2 = -1, y2 = -1; + buffer_size_t size; + int x1 = -1, y1 = -1, x2 = -1, y2 = -1; const uint8_t *p; p = av_packet_get_side_data(pkt, AV_PKT_DATA_SUBTITLE_POSITION, &size); -- cgit v1.2.3