comparison libmpdemux/demux_lavf.c @ 21568:51a7cbc52102

Respect -noidx in lavf demuxer
author reimar
date Sun, 10 Dec 2006 21:37:00 +0000
parents bf65ffcf0cdb
children 43c8f1aa82bb
comparison
equal deleted inserted replaced
21567:3cc80f0855e1 21568:51a7cbc52102
197 197
198 avfc = av_alloc_format_context(); 198 avfc = av_alloc_format_context();
199 199
200 if (correct_pts) 200 if (correct_pts)
201 avfc->flags |= AVFMT_FLAG_GENPTS; 201 avfc->flags |= AVFMT_FLAG_GENPTS;
202 if (index_mode == 0)
203 avfc->flags |= AVFMT_FLAG_IGNIDX;
202 204
203 ap.prealloced_context = 1; 205 ap.prealloced_context = 1;
204 if(opt_probesize) { 206 if(opt_probesize) {
205 double d = (double) opt_probesize; 207 double d = (double) opt_probesize;
206 opt = av_set_double(avfc, "probesize", opt_probesize); 208 opt = av_set_double(avfc, "probesize", opt_probesize);