aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-06-28 18:38:37 +0200
committerAnton Khirnov <anton@khirnov.net>2013-07-02 10:37:22 +0200
commit8ad3267ce3a1522a181946288049cc848cc9e351 (patch)
treea100e580c3330220c753f7252317613ae12867a1 /libavformat
parentc8b920a9b7fa534a6141695ace4e8c2dfcd56cee (diff)
downloadffmpeg-8ad3267ce3a1522a181946288049cc848cc9e351.tar.gz
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.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/oggdec.c2
1 files changed, 1 insertions, 1 deletions
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,
};