ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Fri Sep 16 17:54:54 
2022 +0200| [8f115122733fd640b6f12290f2108939fda4c9cf] | committer: Paul B Mahol

avformat/ape: set packet duration

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f115122733fd640b6f12290f2108939fda4c9cf
---

 libavformat/ape.c | 1 +
 1 file changed, 1 insertion(+)

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++;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to