avio: AVIO_ prefixes for URL_ open flags.
This commit is contained in:
parent
3d42d4937b
commit
f87b1b373a
26 changed files with 92 additions and 65 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue