avio: make url_seek() internal.

This commit is contained in:
Anton Khirnov
2011-03-31 17:30:31 +02:00
parent 230a468679
commit 58a48c6511
5 changed files with 32 additions and 27 deletions

View File

@@ -846,7 +846,7 @@ int ffio_fdopen(AVIOContext **s, URLContext *h)
if (ffio_init_context(*s, buffer, buffer_size,
(h->flags & URL_WRONLY || h->flags & URL_RDWR), h,
ffurl_read, ffurl_write, url_seek) < 0) {
ffurl_read, ffurl_write, ffurl_seek) < 0) {
av_free(buffer);
av_freep(s);
return AVERROR(EIO);