mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-11 03:31:59 +08:00
avformat: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user