# HG changeset patch # User reimar # Date 1165786620 0 # Node ID 51a7cbc5210276055345db10e25dbc8031c0bf9b # Parent 3cc80f0855e15b7f6af7082b20b6eae81bd26ddc Respect -noidx in lavf demuxer diff -r 3cc80f0855e1 -r 51a7cbc52102 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sun Dec 10 19:47:24 2006 +0000 +++ b/libmpdemux/demux_lavf.c Sun Dec 10 21:37:00 2006 +0000 @@ -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) {