1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

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.

Originally committed as revision 20216 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles
2009-10-12 21:30:03 +00:00
parent 933e866735
commit 15299b3821
3 changed files with 52 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ struct ogg_stream {
unsigned int pstart;
unsigned int psize;
unsigned int pflags;
unsigned int pduration;
uint32_t serial;
uint32_t seq;
uint64_t granule, lastgp;