mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avformat/ape: set packet duration
This commit is contained in:
@ -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++;
|
||||
|
||||
|
Reference in New Issue
Block a user