# HG changeset patch # User reimar # Date 1274657618 0 # Node ID 4bedd06c54e27b115e3fd8e945605754219277cc # Parent 7b764d7a29385f9852fe70d5f8287737d60074bf Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many seeks needed for binary search when seeking to a previously seen location. diff -r 7b764d7a2938 -r 4bedd06c54e2 oggdec.c --- 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, };