summaryrefslogtreecommitdiffstats
path: root/libvo/vo_tdfxfb.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-20 18:19:03 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-20 18:19:03 +0000
commit9a6313ed24efaeb22b86ddc6309ee28e3bbde0e4 (patch)
tree0ed32cb9e74e724ee5471ecddbb0f520c12b2f56 /libvo/vo_tdfxfb.c
parent4c1b6e248abc89ffa9218869c19af602cf73095e (diff)
downloadmpv-9a6313ed24efaeb22b86ddc6309ee28e3bbde0e4.tar.bz2
mpv-9a6313ed24efaeb22b86ddc6309ee28e3bbde0e4.tar.xz
demux_mkv very long seek fix
The seek code searching for the closest position in the index used "int64_t min_diff=0xFFFFFFFL" as the initial "further from the goal than any real alternative" value. The unit is milliseconds so seeks more than about 75 hours past the end of the file would fail to recognize the last index position as the best match. This was triggered in practice by chapter seek code which apparently uses a seek of 1000000000 seconds forward to mean "seek to the end". The practical effect was that trying to seek to the next chapter in a file without chapters made MPlayer block until it finished reading the file from the current position to the end. Fixed by increasing the initial value from FFFFFFF to FFFFFFFFFFFFFFF. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23592 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_tdfxfb.c')
0 files changed, 0 insertions, 0 deletions