[FFmpeg-devel] [PATCH] enable generic index for ogg demuxer

Reimar Döffinger Reimar.Doeffinger
Sun May 23 21:58:53 CEST 2010

this dramatically reduces the number of protocol-level seeks necessary when
seeking backwards or in general to a location encountered before, and I did
not notice any downsides to it.
Index: libavformat/oggdec.c
--- libavformat/oggdec.c	(revision 23257)
+++ libavformat/oggdec.c	(working copy)
@@ -642,4 +642,5 @@
     .extensions = "ogg",
     .metadata_conv = ff_vorbiscomment_metadata_conv,
+    .flags = AVFMT_GENERIC_INDEX,

More information about the ffmpeg-devel mailing list