[MPlayer-dev-eng] [PATCH] let -idx generate usable index for >4GB AVI files

Attila Kinali kinali at gmx.net
Sun May 18 14:52:08 CEST 2003


Hi,

Yet another unaplied patch.

		Attila Kinali



On 30 Apr 2003 22:52:36 -0000
Wolfram Gloger <wmglo at dent.med.uni-muenchen.de> wrote:

> About a year ago I added support for files >2GB to demux_avi.c.  Now I
> have generated a .avi file >4GB with mencoder and found that mplayer
> -idx cannot create a meaningful index for it (to be expected of
> course).
> 
> The patch below lets mplayer/mencoder create a usable index for .avi
> files >4GB, such that seeking works in such files.  Due to the use of
> a private AVIextINDEXENTRY struct it also gets rid of a lot of casts
> and hence makes the code a bit cleaner IMHO.  I haven't yet adapted
> print_index() to the new structure (any index read from the file is
> printed just like before) but could of course do so.


-- 
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
		-- Frank Klemm, de.comp.os.unix.discussion



More information about the MPlayer-dev-eng mailing list