From 8ad3267ce3a1522a181946288049cc848cc9e351 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 28 Jun 2013 18:38:37 +0200 Subject: oggdec: do not fall back on binary search in the generic code. Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already. --- libavformat/oggdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/oggdec.c') diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 2ab730190c..6514c5b153 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -704,5 +704,5 @@ AVInputFormat ff_ogg_demuxer = { .read_seek = ogg_read_seek, .read_timestamp = ogg_read_timestamp, .extensions = "ogg", - .flags = AVFMT_GENERIC_INDEX, + .flags = AVFMT_GENERIC_INDEX | AVFMT_NOBINSEARCH, }; -- cgit v1.2.3