diff oggdec.h @ 5276:5de92e352cf9 libavformat

Calculate correct packet durations when demuxing Ogg/Speex. This involves determining if there is any delay in the first packet and/or any truncation in the final packet.
author jbr
date Mon, 12 Oct 2009 21:30:03 +0000
parents 3aabdadf9d5f
children 68c8e7affd44
line wrap: on
line diff
--- a/oggdec.h	Mon Oct 12 16:38:08 2009 +0000
+++ b/oggdec.h	Mon Oct 12 21:30:03 2009 +0000
@@ -50,6 +50,7 @@
     unsigned int pstart;
     unsigned int psize;
     unsigned int pflags;
+    unsigned int pduration;
     uint32_t serial;
     uint32_t seq;
     uint64_t granule, lastgp;