Commit 48b9b7ed authored by Reimar Döffinger's avatar Reimar Döffinger

Replace deprecated url_fseek by avio_seek.

parent 5ce33e6b
...@@ -491,7 +491,7 @@ ogg_get_length (AVFormatContext * s) ...@@ -491,7 +491,7 @@ ogg_get_length (AVFormatContext * s)
ogg_restore (s, 0); ogg_restore (s, 0);
ogg_save (s); ogg_save (s);
url_fseek (s->pb, 0, SEEK_SET); avio_seek (s->pb, 0, SEEK_SET);
while (!ogg_read_page (s, &i)){ while (!ogg_read_page (s, &i)){
if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 && if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 &&
ogg->streams[i].codec) { ogg->streams[i].codec) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment