summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-21 22:45:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-23 18:22:03 +0100
commitebb92e076883f87cee2a3ddd4a7fe164f422f462 (patch)
tree884592f35c0a1e775c2393d1d535f26e648a8f8f /ffmpeg.c
parentc24a40349693e50aa81ef68a4a522503ca504d50 (diff)
avio: rename url_fopen/fclose -> avio_open/close.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 22a3212e32b696028e21f00871f3cb48c044029d)
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 38aebe4d22..15ab6b38e4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -521,7 +521,7 @@ static int ffmpeg_exit(int ret)
AVFormatContext *s = output_files[i];
int j;
if (!(s->oformat->flags & AVFMT_NOFILE) && s->pb)
- url_fclose(s->pb);
+ avio_close(s->pb);
avformat_free_context(s);
av_free(output_streams_for_file[i]);
}
@@ -3816,7 +3816,7 @@ static void opt_output_file(const char *filename)
}
/* open the file */
- if ((err = url_fopen(&oc->pb, filename, URL_WRONLY)) < 0) {
+ if ((err = avio_open(&oc->pb, filename, URL_WRONLY)) < 0) {
print_error(filename, err);
ffmpeg_exit(1);
}