[FFmpeg-devel] [PATCH] Use all 32 bits of the timestamp when calculating flv duration

Michael Niedermayer michaelni
Thu Sep 3 15:33:56 CEST 2009

On Thu, Sep 03, 2009 at 04:18:50PM +0300, Martin Storsj? wrote:
> Hi,
> $subj. At the moment, the duration is mainly set from the metadata packet, 
> but if that isn't available, the fallback by checking the timestamp of the 
> last packet really should read all 32 bits of the timestamp, not just the 
> low 24 bits as currently.

ok if its confirmed that this does fix a bug
also the code could maybe be factored out, we have that 24+8 reading in there

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090903/0224fd01/attachment.pgp>

More information about the ffmpeg-devel mailing list