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

David Conrad lessen42
Mon May 24 00:31:05 CEST 2010


On May 23, 2010, at 3:58 PM, Reimar D?ffinger wrote:

> Hello,
> 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 @@
>     ogg_read_timestamp,
>     .extensions = "ogg",
>     .metadata_conv = ff_vorbiscomment_metadata_conv,
> +    .flags = AVFMT_GENERIC_INDEX,
> };

This should be ok



More information about the ffmpeg-devel mailing list