diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 13:29:54 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | e07126f54a11cbfc23288f2e15508872da17f81b (patch) | |
tree | 7955894a3b5da65af4c88095b7aaa22ebb8e577e /libavformat/segment.c | |
parent | d8a18c8fc2907004448cb45e704dc82bcd2df528 (diff) | |
download | ffmpeg-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.c | 2 |
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); |