diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-28 14:57:55 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-01 12:22:16 -0500 |
commit | e356fc57a2e9887370caec58d8aafeafd1f336dc (patch) | |
tree | f500dfcba3ee9a3b24462d3fa33df8e654695814 /libavformat/aiffdec.c | |
parent | 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060 (diff) | |
download | ffmpeg-e356fc57a2e9887370caec58d8aafeafd1f336dc.tar.gz |
lavf: replace all uses of url_fskip with avio_seek
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/aiffdec.c')
-rw-r--r-- | libavformat/aiffdec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index b8e4ea28ed..849793a14b 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -70,7 +70,7 @@ static void get_meta(AVFormatContext *s, const char *key, int size) int res; if (!str) { - url_fskip(s->pb, size); + avio_seek(s->pb, size, SEEK_CUR); return; } @@ -242,7 +242,7 @@ static int aiff_read_header(AVFormatContext *s, av_log(s, AV_LOG_ERROR, "file is not seekable\n"); return -1; } - url_fskip(pb, size - 8); + avio_seek(pb, size - 8, SEEK_CUR); break; case MKTAG('w', 'a', 'v', 'e'): if ((uint64_t)size > (1<<30)) @@ -256,7 +256,7 @@ static int aiff_read_header(AVFormatContext *s, default: /* Jump */ if (size & 1) /* Always even aligned */ size++; - url_fskip (pb, size); + avio_seek(pb, size, SEEK_CUR); } } |