Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many

seeks needed for binary search when seeking to a previously seen
location.

backport r23279 by reimar


Originally committed as revision 23282 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
This commit is contained in:
Diego Biurrun 2010-05-24 02:09:36 +00:00
parent 49aa53f2d7
commit a2a26d108b

View File

@ -642,4 +642,5 @@ AVInputFormat ogg_demuxer = {
ogg_read_timestamp,
.extensions = "ogg",
.metadata_conv = ff_vorbiscomment_metadata_conv,
.flags = AVFMT_GENERIC_INDEX,
};