[MPlayer-dev-eng] [PATCH] File length patch

Rüdiger Kuhlmann mplayer-list-UGa6JdjLujS2 at ruediger-kuhlmann.de
Mon Dec 9 14:59:54 CET 2002


This file fixes the unset file length for avi files if index regeneration is
turned on:

Index: libmpdemux/demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.124
diff -u -r1.124 demuxer.c
--- libmpdemux/demuxer.c	7 Dec 2002 01:07:11 -0000	1.124
+++ libmpdemux/demuxer.c	9 Dec 2002 14:30:13 -0000
@@ -1257,6 +1257,8 @@
 	case DEMUXER_TYPE_ASF:
 	    return demux_asf_control(demuxer,cmd,arg);
 	case DEMUXER_TYPE_AVI:
+	case DEMUXER_TYPE_AVI_NI:
+	case DEMUXER_TYPE_AVI_NINI:
 	    return demux_avi_control(demuxer,cmd,arg);
 
 	default:

-- 
         100 DM =  51  € 13 ¢.
         100  € = 195 DM 58 pf.
  mailto:ruediger at ruediger-kuhlmann.de
    http://www.ruediger-kuhlmann.de/



More information about the MPlayer-dev-eng mailing list