summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-05-23 23:33:38 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-05-23 23:33:38 +0000
commitf1a0518524a08c5a934c4b0d2f8360b4cab4475f (patch)
tree6a469ae79c57f44cb9be47edce3b55c4c4f6bd51
parent21d5244745492f5cbb8aae089b888ca770f77522 (diff)
downloadffmpeg-f1a0518524a08c5a934c4b0d2f8360b4cab4475f.tar.gz
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
seeks needed for binary search when seeking to a previously seen location. Originally committed as revision 23279 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/oggdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index f24f697ada..3161e68c6c 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -642,4 +642,5 @@ AVInputFormat ogg_demuxer = {
ogg_read_timestamp,
.extensions = "ogg",
.metadata_conv = ff_vorbiscomment_metadata_conv,
+ .flags = AVFMT_GENERIC_INDEX,
};