comparison avidec.c @ 1294:12398b868e18 libavformat

ignore index parameter to ignore the ODML index in avi
author michael
date Tue, 05 Sep 2006 19:23:32 +0000
parents 8b423c6ae233
children 654749c12a29
comparison
equal deleted inserted replaced
1293:1816e097c39f 1294:12398b868e18
454 } 454 }
455 } 455 }
456 break; 456 break;
457 case MKTAG('i', 'n', 'd', 'x'): 457 case MKTAG('i', 'n', 'd', 'x'):
458 i= url_ftell(pb); 458 i= url_ftell(pb);
459 if(!url_is_streamed(pb)){ 459 if(!url_is_streamed(pb) && !(s->flags & AVFMT_FLAG_IGNIDX)){
460 read_braindead_odml_indx(s, 0); 460 read_braindead_odml_indx(s, 0);
461 } 461 }
462 url_fseek(pb, i+size, SEEK_SET); 462 url_fseek(pb, i+size, SEEK_SET);
463 break; 463 break;
464 case MKTAG('I', 'N', 'A', 'M'): 464 case MKTAG('I', 'N', 'A', 'M'):