Revision f87b1b37 libavformat/output-example.c
libavformat/output-example.c | ||
---|---|---|
492 | 492 |
|
493 | 493 |
/* open the output file, if needed */ |
494 | 494 |
if (!(fmt->flags & AVFMT_NOFILE)) { |
495 |
if (avio_open(&oc->pb, filename, URL_WRONLY) < 0) {
|
|
495 |
if (avio_open(&oc->pb, filename, AVIO_WRONLY) < 0) {
|
|
496 | 496 |
fprintf(stderr, "Could not open '%s'\n", filename); |
497 | 497 |
exit(1); |
498 | 498 |
} |
Also available in: Unified diff