diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-09-16 18:54:54 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-09-16 19:04:20 +0300 |
commit | 8f115122733fd640b6f12290f2108939fda4c9cf (patch) | |
tree | 2d06d3280d4b7f1e6e173391f8259c38c5deb0bb /libavformat | |
parent | 2c23cd0181ef18c8dd968218d45c15c1b035ba65 (diff) |
avformat/ape: set packet duration
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ape.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/ape.c b/libavformat/ape.c index bf1254e7bd..e694df7302 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -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++; |