diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 17:30:31 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | 58a48c6511f1aded04885933fdb2449251f0ec64 (patch) | |
tree | 599d0a871d9a0f08e76dc57ca5160772899ff49d /libavformat/concat.c | |
parent | 230a4686790ce97f9016b4e617f6bb4078560a3f (diff) | |
download | ffmpeg-58a48c6511f1aded04885933fdb2449251f0ec64.tar.gz |
avio: make url_seek() internal.
Diffstat (limited to 'libavformat/concat.c')
-rw-r--r-- | libavformat/concat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/concat.c b/libavformat/concat.c index 8147fda6c3..0f3ecb0d21 100644 --- a/libavformat/concat.c +++ b/libavformat/concat.c @@ -141,7 +141,7 @@ static int concat_read(URLContext *h, unsigned char *buf, int size) return total ? total : result; if (!result) if (i + 1 == data->length || - url_seek(nodes[++i].uc, 0, SEEK_SET) < 0) + ffurl_seek(nodes[++i].uc, 0, SEEK_SET) < 0) break; total += result; buf += result; @@ -169,7 +169,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) /* get the absolute position */ for (i = 0; i != data->current; i++) pos += nodes[i].size; - pos += url_seek(nodes[i].uc, 0, SEEK_CUR); + pos += ffurl_seek(nodes[i].uc, 0, SEEK_CUR); whence = SEEK_SET; /* fall through with the absolute position */ case SEEK_SET: @@ -180,7 +180,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence) return AVERROR(EINVAL); } - result = url_seek(nodes[i].uc, pos, whence); + result = ffurl_seek(nodes[i].uc, pos, whence); if (result >= 0) { data->current = i; while (i) |