From 22a3212e32b696028e21f00871f3cb48c044029d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 21 Feb 2011 22:45:20 +0100 Subject: avio: rename url_fopen/fclose -> avio_open/close. Signed-off-by: Ronald S. Bultje --- ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 185ca19a2b..4a737b4945 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -508,7 +508,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]); } @@ -3789,7 +3789,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); } -- cgit v1.2.3