Respect -noidx in lavf demuxer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21584 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-12-10 21:37:00 +00:00
parent 12e48b5cd0
commit b9e8186ac3
1 changed files with 2 additions and 0 deletions

View File

@ -199,6 +199,8 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
if (correct_pts)
avfc->flags |= AVFMT_FLAG_GENPTS;
if (index_mode == 0)
avfc->flags |= AVFMT_FLAG_IGNIDX;
ap.prealloced_context = 1;
if(opt_probesize) {