mirror of https://github.com/mpv-player/mpv
9a6313ed24
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 |
||
---|---|---|
.. | ||
Makefile | ||
asf.h | ||
asfheader.c | ||
aviheader.c | ||
aviheader.h | ||
aviprint.c | ||
demux_aac.c | ||
demux_asf.c | ||
demux_audio.c | ||
demux_avi.c | ||
demux_avs.c | ||
demux_avs.h | ||
demux_demuxers.c | ||
demux_film.c | ||
demux_fli.c | ||
demux_gif.c | ||
demux_lavf.c | ||
demux_lmlm4.c | ||
demux_mf.c | ||
demux_mkv.c | ||
demux_mov.c | ||
demux_mpc.c | ||
demux_mpg.c | ||
demux_nsv.c | ||
demux_nut.c | ||
demux_nuv.c | ||
demux_ogg.c | ||
demux_pva.c | ||
demux_rawaudio.c | ||
demux_rawdv.c | ||
demux_rawvideo.c | ||
demux_real.c | ||
demux_realaud.c | ||
demux_roq.c | ||
demux_rtp.cpp | ||
demux_rtp.h | ||
demux_rtp_codec.cpp | ||
demux_rtp_internal.h | ||
demux_smjpeg.c | ||
demux_ts.c | ||
demux_ty.c | ||
demux_ty_osd.c | ||
demux_viv.c | ||
demux_vqf.c | ||
demux_xmms.c | ||
demux_xmms_plugin.h | ||
demux_y4m.c | ||
demuxer.c | ||
demuxer.h | ||
ebml.c | ||
ebml.h | ||
extension.c | ||
genres.h | ||
matroska.h | ||
mf.c | ||
mf.h | ||
mp3_hdr.c | ||
mp3_hdr.h | ||
mpeg_hdr.c | ||
mpeg_hdr.h | ||
mpeg_packetizer.c | ||
mpeg_packetizer.h | ||
ms_hdr.h | ||
muxer.c | ||
muxer.h | ||
muxer_avi.c | ||
muxer_lavf.c | ||
muxer_mpeg.c | ||
muxer_rawaudio.c | ||
muxer_rawvideo.c | ||
nuppelvideo.h | ||
parse_es.c | ||
parse_es.h | ||
parse_mp4.c | ||
parse_mp4.h | ||
qtpalette.h | ||
stheader.h | ||
video.c | ||
yuv4mpeg.c | ||
yuv4mpeg.h | ||
yuv4mpeg_intern.h | ||
yuv4mpeg_ratio.c |