avformat/ape: set packet duration

pull/388/head
Paul B Mahol 2 years ago
parent 2c23cd0181
commit 8f11512273
  1. 1
      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++;

Loading…
Cancel
Save