aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-03-06 13:29:54 -0300
committerJames Almer <jamrial@gmail.com>2021-03-10 20:26:36 -0300
commite07126f54a11cbfc23288f2e15508872da17f81b (patch)
tree7955894a3b5da65af4c88095b7aaa22ebb8e577e /libavformat/segment.c
parentd8a18c8fc2907004448cb45e704dc82bcd2df528 (diff)
downloadffmpeg-e07126f54a11cbfc23288f2e15508872da17f81b.tar.gz
avformat: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/segment.c')
-rw-r--r--libavformat/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c
index dff3d0ed48..5265ecaebb 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -859,7 +859,7 @@ static int seg_write_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EINVAL);
if (!st->codecpar->extradata_size) {
- int pkt_extradata_size;
+ buffer_size_t pkt_extradata_size;
uint8_t *pkt_extradata = av_packet_get_side_data(pkt, AV_PKT_DATA_NEW_EXTRADATA, &pkt_extradata_size);
if (pkt_extradata && pkt_extradata_size > 0) {
ret = ff_alloc_extradata(st->codecpar, pkt_extradata_size);