mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avformat: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
d8a18c8fc2
commit
e07126f54a
16 changed files with 36 additions and 25 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue