1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-15 04:38:48 +02:00

avformat/ape: set packet duration

This commit is contained in:
Paul B Mahol 2022-09-16 17:54:54 +02:00
parent 2c23cd0181
commit 8f11512273

View File

@ -411,6 +411,7 @@ static int ape_read_packet(AVFormatContext * s, AVPacket * pkt)
/* note: we need to modify the packet size here to handle the last
packet */
pkt->size = ret + extra_size;
pkt->duration = nblocks;
ape->currentframe++;