# HG changeset patch # User reimar # Date 1275821466 0 # Node ID 47759a2966f64469d90b2ac3b582a53c17101f33 # Parent 2f4b67897701c1e75adf418ce636cf5c3c003823 Support AVFMT_FLAG_IGNIDX in gxf demuxer. diff -r 2f4b67897701 -r 47759a2966f6 gxf.c --- a/gxf.c Sat Jun 05 23:13:52 2010 +0000 +++ b/gxf.c Sun Jun 06 10:51:06 2010 +0000 @@ -237,6 +237,10 @@ uint32_t map_cnt = get_le32(pb); int i; pkt_len -= 8; + if (s->flags & AVFMT_FLAG_IGNIDX) { + url_fskip(pb, pkt_len); + return; + } if (map_cnt > 1000) { av_log(s, AV_LOG_ERROR, "too many index entries %u (%x)\n", map_cnt, map_cnt); map_cnt = 1000;