On 3/28/2012 11:36 PM, Ronald S. Bultje wrote:
From: "Ronald S. Bultje"<[email protected]>This allows falling back to a binary search if the file contains no index, thus fixing seeking in such files (e.g. luckynight.wma). --- libavformat/asfdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index d3869b4..f094647 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1235,7 +1235,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index) last_pos=pos; } } - asf->index_read= 1; + asf->index_read= ict> 0; } avio_seek(s->pb, current_pos, SEEK_SET); }
+1. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
