Originally committed as revision 23502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger authored on 2010/06/06 19:51:06... | ... |
@@ -237,6 +237,10 @@ static void gxf_read_index(AVFormatContext *s, int pkt_len) { |
237 | 237 |
uint32_t map_cnt = get_le32(pb); |
238 | 238 |
int i; |
239 | 239 |
pkt_len -= 8; |
240 |
+ if (s->flags & AVFMT_FLAG_IGNIDX) { |
|
241 |
+ url_fskip(pb, pkt_len); |
|
242 |
+ return; |
|
243 |
+ } |
|
240 | 244 |
if (map_cnt > 1000) { |
241 | 245 |
av_log(s, AV_LOG_ERROR, "too many index entries %u (%x)\n", map_cnt, map_cnt); |
242 | 246 |
map_cnt = 1000; |