diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-04 20:11:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-07 18:07:16 +0200 |
commit | f87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (patch) | |
tree | 9b44dffc615a4832c3d67cc27a6eb13ca8960df1 /libavformat/output-example.c | |
parent | 3d42d4937b029b604da7d53dce16c72e8edde29c (diff) | |
download | ffmpeg-f87b1b373a0df55080c1e6a5874f9a0a75c6fee8.tar.gz |
avio: AVIO_ prefixes for URL_ open flags.
Diffstat (limited to 'libavformat/output-example.c')
-rw-r--r-- | libavformat/output-example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/output-example.c b/libavformat/output-example.c index b6be2b97db..27db78c658 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 (avio_open(&oc->pb, filename, URL_WRONLY) < 0) { + if (avio_open(&oc->pb, filename, AVIO_WRONLY) < 0) { fprintf(stderr, "Could not open '%s'\n", filename); exit(1); } |