From 48b9b7edb3df7b9849518573373c598e0df68fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 7 May 2011 19:42:36 +0200 Subject: [PATCH] Replace deprecated url_fseek by avio_seek. --- libavformat/oggdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 43af23d284..b9ac3d9f0e 100644 --- a/libavformat/oggdec.c +++ b/libavformat/oggdec.c @@ -491,7 +491,7 @@ ogg_get_length (AVFormatContext * s) ogg_restore (s, 0); ogg_save (s); - url_fseek (s->pb, 0, SEEK_SET); + avio_seek (s->pb, 0, SEEK_SET); while (!ogg_read_page (s, &i)){ if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 && ogg->streams[i].codec) {