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/dashenc.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/dashenc.c')
-rw-r--r-- | libavformat/dashenc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 2d757b3a87..81a5c2b452 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1815,7 +1815,8 @@ static int update_stream_extradata(AVFormatContext *s, OutputStream *os, { AVCodecParameters *par = os->ctx->streams[0]->codecpar; uint8_t *extradata; - int ret, extradata_size; + buffer_size_t extradata_size; + int ret; if (par->extradata_size) return 0; @@ -2030,7 +2031,7 @@ static int dash_parse_prft(DASHContext *c, AVPacket *pkt) { OutputStream *os = &c->streams[pkt->stream_index]; AVProducerReferenceTime *prft; - int side_data_size; + buffer_size_t side_data_size; prft = (AVProducerReferenceTime *)av_packet_get_side_data(pkt, AV_PKT_DATA_PRFT, &side_data_size); if (!prft || side_data_size != sizeof(AVProducerReferenceTime) || (prft->flags && prft->flags != 24)) { |