avio: rename url_fopen/fclose -> avio_open/close.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Anton Khirnov
2011-02-21 22:45:20 +01:00
committed by Ronald S. Bultje
parent 28c4741a66
commit 22a3212e32
14 changed files with 55 additions and 34 deletions

View File

@@ -1718,7 +1718,7 @@ static int mov_open_dref(AVIOContext **pb, char *src, MOVDref *ref)
av_strlcat(filename, ref->path + l + 1, 1024);
if (!url_fopen(pb, filename, URL_RDONLY))
if (!avio_open(pb, filename, URL_RDONLY))
return 0;
}
}
@@ -2546,7 +2546,7 @@ static int mov_read_close(AVFormatContext *s)
}
av_freep(&sc->drefs);
if (sc->pb && sc->pb != s->pb)
url_fclose(sc->pb);
avio_close(sc->pb);
av_freep(&st->codec->palctrl);
}