You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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
|
/* note: we need to modify the packet size here to handle the last
|
||||||
packet */
|
packet */
|
||||||
pkt->size = ret + extra_size;
|
pkt->size = ret + extra_size;
|
||||||
|
pkt->duration = nblocks;
|
||||||
|
|
||||||
ape->currentframe++;
|
ape->currentframe++;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user