mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
avformat/ape: set packet duration
This commit is contained in:
parent
2c23cd0181
commit
8f11512273
@ -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++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user