Replace deprecated url_fseek by avio_seek.
This commit is contained in:
parent
5ce33e6bc5
commit
48b9b7edb3
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user