You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-21 16:47:28 +02:00
avio: rename url_fopen/fclose -> avio_open/close.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 22a3212e32)
This commit is contained in:
committed by
Michael Niedermayer
parent
c24a403496
commit
ebb92e0768
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user