changeset 6047:4bedd06c54e2 libavformat

Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many seeks needed for binary search when seeking to a previously seen location.
author reimar
date Sun, 23 May 2010 23:33:38 +0000
parents 7b764d7a2938
children e507a21a9566
files oggdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/oggdec.c	Sun May 23 22:20:04 2010 +0000
+++ b/oggdec.c	Sun May 23 23:33:38 2010 +0000
@@ -642,4 +642,5 @@
     ogg_read_timestamp,
     .extensions = "ogg",
     .metadata_conv = ff_vorbiscomment_metadata_conv,
+    .flags = AVFMT_GENERIC_INDEX,
 };