diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-09-05 19:23:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-09-05 19:23:32 +0000 |
commit | 2c00106c2b07d38ec90cc9906aef2437df6f1ad7 (patch) | |
tree | bdbc23d9cb776b0d73d4578fb309daee9269f2c3 /libavformat/avidec.c | |
parent | 577cd173e3881cbb5f7e5386c04d5384a7bf9408 (diff) | |
download | ffmpeg-2c00106c2b07d38ec90cc9906aef2437df6f1ad7.tar.gz |
ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 8744be685a..0e03365ede 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -456,7 +456,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) break; case MKTAG('i', 'n', 'd', 'x'): i= url_ftell(pb); - if(!url_is_streamed(pb)){ + if(!url_is_streamed(pb) && !(s->flags & AVFMT_FLAG_IGNIDX)){ read_braindead_odml_indx(s, 0); } url_fseek(pb, i+size, SEEK_SET); |