diff options
author | Martin Storsjö <martin@martin.st> | 2009-09-07 10:49:51 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-09-07 10:49:51 +0000 |
commit | b126dee96413730a41362952218ed4796b91f31c (patch) | |
tree | e6b49eab4a8cdcf82a6d5457d3f231e6cced1c58 /libavformat/isom.c | |
parent | 35c433d6714c94f45dd72f4c3be5da87e31ab07b (diff) | |
download | ffmpeg-b126dee96413730a41362952218ed4796b91f31c.tar.gz |
Use all 32 bits of the timestamp when calculating flv duration.
At the moment, duration is mainly set from the metadata packet. If that is not
available, the fallback is checking the low 24 bits of the last packet. This is
not enough for files over 4,6 hours in length, so read all 32 bits instead.
patch by Martin Storsjö, martin martin st
Originally committed as revision 19791 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/isom.c')
0 files changed, 0 insertions, 0 deletions