1
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 03:06:28 +01:00
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
..
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 Get rid of min/max macros from aviheader.h, they do not belong here. 2006-12-09 12:24:11 +00:00
aviprint.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_aac.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_avi.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_avs.c Use explicit path for headers from the loader/ directory. 2007-03-15 22:34:45 +00:00
demux_avs.h The FSF changed postal address. 2006-09-01 12:11:11 +00:00
demux_demuxers.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_film.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_fli.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_nut.c compilation fix, manually include help_mp.h 2007-04-24 09:05:54 +00:00
demux_nuv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ogg.c Remove some unused variables, patch by timwoj ieee org. 2007-05-28 08:42:35 +00:00
demux_pva.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawaudio.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawdv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_rawvideo.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_real.c Declarations and code should not be mixed. 2007-04-25 00:03:27 +00:00
demux_realaud.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_roq.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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_rtp.cpp Simplify network timeout calculation. 2007-06-20 10:39:57 +00:00
demux_rtp.h Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_smjpeg.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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_osd.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_ty.c Remove some unused variables, patch by timwoj ieee org. 2007-05-28 08:42:35 +00:00
demux_viv.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_vqf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_xmms_plugin.h XMMS Input plugin support 2002-12-22 21:01:01 +00:00
demux_xmms.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
demux_y4m.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
ebml.h Add matroska v2 (SimpleBlock) support. 2006-09-25 21:17:43 +00:00
extension.c Use lavf_preferred mechanism to replace more extension-based detection hacks 2007-04-14 10:07:36 +00:00
genres.h CVS --> Subversion in copyright notices 2006-06-22 13:34:00 +00:00
Makefile Add general variables for either static or shared FFmpeg libraries. 2007-04-26 11:22:22 +00:00
matroska.h Remove useless demnuxer.h include from matroska.h, it creats "hundreds" of 2007-06-20 16:29:56 +00:00
mf.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
mf.h mf.[hc] belong to libmpdemux 2006-08-03 19:31:36 +00:00
mp3_hdr.c Unify include path handling, -I.. is in CFLAGS. 2005-11-18 14:39:25 +00:00
mp3_hdr.h set i_bps in demux_audio for WAV and MP3 to avoid division by zero before 2005-08-01 18:36:50 +00:00
mpeg_hdr.c in h264_parse_sps() reuse mp_unescape03() 2007-01-20 13:46:17 +00:00
mpeg_hdr.h added function to parse vc1 sequence header 2007-01-20 12:04:20 +00:00
mpeg_packetizer.c Fixes 2006-10-08 22:43:29 +00:00
mpeg_packetizer.h cosmetics: comments and reindentation asked by gxben 2006-07-22 09:59:44 +00:00
ms_hdr.h Better protection against double definition of MPEGLAYER3WAVEFORMAT 2004-08-09 15:53:10 +00:00
muxer_avi.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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 Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
muxer_rawvideo.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
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
nuppelvideo.h Use av_int2dbl to read doubles instead of our somewhat broken le2me_dbl 2006-11-28 19:01:04 +00:00
parse_es.c Remove unused parameter for mp_msg 2007-06-03 08:48:44 +00:00
parse_es.h libdemuxer... 2001-10-20 18:49:08 +00:00
parse_mp4.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
parse_mp4.h Add support for 13k Voice (Qclp) in 3g2 files 2006-08-11 22:57:33 +00:00
qtpalette.h static tables 2004-06-25 17:03:59 +00:00
stheader.h Move the sh_audio->delay field to mpctx->delay. 2007-03-11 06:16:14 +00:00
video.c Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00
yuv4mpeg_intern.h The FSF changed postal address. 2006-09-01 12:11:11 +00:00
yuv4mpeg_ratio.c The FSF changed postal address. 2006-09-01 12:11:11 +00:00
yuv4mpeg.c The FSF changed postal address. 2006-09-01 12:11:11 +00:00
yuv4mpeg.h Add explicit location for headers from the stream/ directory. 2007-03-15 18:36:36 +00:00