projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b847d
)
Support AVFMT_FLAG_IGNIDX in gxf demuxer.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 6 Jun 2010 10:51:06 +0000
(10:51 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 6 Jun 2010 10:51:06 +0000
(10:51 +0000)
Originally committed as revision 23502 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/gxf.c
patch
|
blob
|
history
diff --git
a/libavformat/gxf.c
b/libavformat/gxf.c
index
ea8a2ff
..
3798bb7
100644
(file)
--- a/
libavformat/gxf.c
+++ b/
libavformat/gxf.c
@@
-237,6
+237,10
@@
static void gxf_read_index(AVFormatContext *s, int pkt_len) {
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;