[FFmpeg-cvslog] Replace deprecated url_fseek by avio_seek.

Reimar Döffinger git at videolan.org
Sat May 7 20:15:00 CEST 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat May  7 19:42:36 2011 +0200| [48b9b7edb3df7b9849518573373c598e0df68fd2] | committer: Reimar Döffinger

Replace deprecated url_fseek by avio_seek.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48b9b7edb3df7b9849518573373c598e0df68fd2
---

 libavformat/oggdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 43af23d..b9ac3d9 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) {



More information about the ffmpeg-cvslog mailing list