Replace deprecated url_fseek by avio_seek.

This commit is contained in:
Reimar Döffinger 2011-05-07 19:42:36 +02:00
parent 5ce33e6bc5
commit 48b9b7edb3
1 changed files with 1 additions and 1 deletions

View File

@ -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) {