mpv/libmpdemux
uau 9a6313ed24 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
2007-06-20 18:19:03 +00:00
..
Makefile Add general variables for either static or shared FFmpeg libraries. 2007-04-26 11:22:22 +00:00
asf.h Set i_bps for ASF video streams according to extended stream properties 2007-05-22 13:55:14 +00:00
asfheader.c Use play duration instead of send duration to calculate the length 2007-05-30 08:36:38 +00:00
aviheader.c with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru) 2007-04-20 21:49:49 +00:00
aviheader.h
aviprint.c
demux_aac.c
demux_asf.c removed functions that were used to parse mpeg12 video (no more video); patch by John Donaghy 2007-06-10 09:25:09 +00:00
demux_audio.c
demux_avi.c
demux_avs.c
demux_avs.h
demux_demuxers.c
demux_film.c
demux_fli.c
demux_gif.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
demux_lavf.c add txd codec, works with http://samples.mplayerhq.hu/game-formats/txd/fronten2.txd . 2007-05-10 15:47:06 +00:00
demux_lmlm4.c
demux_mf.c BMP support for mf:// 2007-04-06 16:58:00 +00:00
demux_mkv.c demux_mkv very long seek fix 2007-06-20 18:19:03 +00:00
demux_mov.c 10l: r23399 broke mov/mp4 demuxing 2007-05-28 14:25:48 +00:00
demux_mpc.c
demux_mpg.c Set subtitle type in mpg demuxer. Fixes subtitle switching with 'j' 2007-06-17 10:24:10 +00:00
demux_nsv.c
demux_nut.c compilation fix, manually include help_mp.h 2007-04-24 09:05:54 +00:00
demux_nuv.c
demux_ogg.c Remove some unused variables, patch by timwoj ieee org. 2007-05-28 08:42:35 +00:00
demux_pva.c
demux_rawaudio.c
demux_rawdv.c
demux_rawvideo.c
demux_real.c Declarations and code should not be mixed. 2007-04-25 00:03:27 +00:00
demux_realaud.c
demux_roq.c
demux_rtp.cpp Simplify network timeout calculation. 2007-06-20 10:39:57 +00:00
demux_rtp.h
demux_rtp_codec.cpp Support h264 over rtsp 2007-04-01 03:03:05 +00:00
demux_rtp_internal.h Support h264 over rtsp 2007-04-01 03:03:05 +00:00
demux_smjpeg.c
demux_ts.c init ts_probe to 0 and probe up to TS_MAX_PROBE_SIZE if the parameter 2007-06-09 18:20:21 +00:00
demux_ty.c Remove some unused variables, patch by timwoj ieee org. 2007-05-28 08:42:35 +00:00
demux_ty_osd.c
demux_viv.c
demux_vqf.c
demux_xmms.c
demux_xmms_plugin.h
demux_y4m.c
demuxer.c More accurate seeking for demuxers lacking DEMUXER_CTRL_GET_TIME_LENGTH control 2007-06-17 13:28:52 +00:00
demuxer.h Fix demuxer.h multiple inclusion guard 2007-06-20 16:52:32 +00:00
ebml.c
ebml.h
extension.c Use lavf_preferred mechanism to replace more extension-based detection hacks 2007-04-14 10:07:36 +00:00
genres.h
matroska.h Remove useless demnuxer.h include from matroska.h, it creats "hundreds" of 2007-06-20 16:29:56 +00:00
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 Simplify preprocessor directives: There is a general variable for 2007-04-26 15:10:07 +00:00
muxer.h Add imgfmt (AKA pixel format) to muxer_stream_t so that encoders can 2007-05-17 00:15:08 +00:00
muxer_avi.c
muxer_lavf.c cosmetics: fix indentation for previous commit 2007-05-18 02:10:41 +00:00
muxer_mpeg.c added :interleaving2, a better method to determine which stream whouls be flushed 2007-04-08 16:15:41 +00:00
muxer_rawaudio.c
muxer_rawvideo.c
nuppelvideo.h
parse_es.c Remove unused parameter for mp_msg 2007-06-03 08:48:44 +00:00
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