diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-22 00:45:20 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-23 20:22:03 +0300 |
commit | ebb92e076883f87cee2a3ddd4a7fe164f422f462 (patch) | |
tree | 884592f35c0a1e775c2393d1d535f26e648a8f8f /libavformat/output-example.c | |
parent | c24a40349693e50aa81ef68a4a522503ca504d50 (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 'libavformat/output-example.c')
-rw-r--r-- | libavformat/output-example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/output-example.c b/libavformat/output-example.c index edb5c87243..b6be2b97db 100644 --- a/libavformat/output-example.c +++ b/libavformat/output-example.c @@ -492,7 +492,7 @@ int main(int argc, char **argv) /* open the output file, if needed */ if (!(fmt->flags & AVFMT_NOFILE)) { - if (url_fopen(&oc->pb, filename, URL_WRONLY) < 0) { + if (avio_open(&oc->pb, filename, URL_WRONLY) < 0) { fprintf(stderr, "Could not open '%s'\n", filename); exit(1); } @@ -545,7 +545,7 @@ int main(int argc, char **argv) if (!(fmt->flags & AVFMT_NOFILE)) { /* close the output file */ - url_fclose(oc->pb); + avio_close(oc->pb); } /* free the stream */ |