diff options
Diffstat (limited to 'libavformat/r3d.c')
-rw-r--r-- | libavformat/r3d.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/r3d.c b/libavformat/r3d.c index 63ed26c..0e103b6 100644 --- a/libavformat/r3d.c +++ b/libavformat/r3d.c @@ -72,7 +72,7 @@ static int r3d_read_red1(AVFormatContext *s) tmp = avio_rb32(s->pb); // filenum av_dlog(s, "filenum %d\n", tmp); - url_fskip(s->pb, 32); // unknown + avio_seek(s->pb, 32, SEEK_CUR); // unknown st->codec->width = avio_rb32(s->pb); st->codec->height = avio_rb32(s->pb); @@ -152,7 +152,7 @@ static void r3d_read_reos(AVFormatContext *s) tmp = avio_rb32(s->pb); av_dlog(s, "num audio chunks %d\n", tmp); - url_fskip(s->pb, 6*4); + avio_seek(s->pb, 6*4, SEEK_CUR); } static int r3d_read_header(AVFormatContext *s, AVFormatParameters *ap) @@ -332,7 +332,7 @@ static int r3d_read_packet(AVFormatContext *s, AVPacket *pkt) break; default: skip: - url_fskip(s->pb, atom.size-8); + avio_seek(s->pb, atom.size-8, SEEK_CUR); } } return err; |