[MPlayer-cvslog] r21584 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Sun Dec 10 22:37:01 CET 2006


Author: reimar
Date: Sun Dec 10 22:37:00 2006
New Revision: 21584

Modified:
   trunk/libmpdemux/demux_lavf.c

Log:
Respect -noidx in lavf demuxer


Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	(original)
+++ trunk/libmpdemux/demux_lavf.c	Sun Dec 10 22:37:00 2006
@@ -199,6 +199,8 @@
 
     if (correct_pts)
         avfc->flags |= AVFMT_FLAG_GENPTS;
+    if (index_mode == 0)
+        avfc->flags |= AVFMT_FLAG_IGNIDX;
 
     ap.prealloced_context = 1;
     if(opt_probesize) {



More information about the MPlayer-cvslog mailing list