Revision f87b1b37 ffserver.c
ffserver.c | ||
---|---|---|
3427 | 3427 |
"rtp://%s:%d", ipaddr, ntohs(dest_addr->sin_port)); |
3428 | 3428 |
} |
3429 | 3429 |
|
3430 |
if (url_open(&h, ctx->filename, URL_WRONLY) < 0)
|
|
3430 |
if (url_open(&h, ctx->filename, AVIO_WRONLY) < 0)
|
|
3431 | 3431 |
goto fail; |
3432 | 3432 |
c->rtp_handles[stream_index] = h; |
3433 | 3433 |
max_packet_size = url_get_max_packet_size(h); |
... | ... | |
3767 | 3767 |
} |
3768 | 3768 |
|
3769 | 3769 |
/* only write the header of the ffm file */ |
3770 |
if (avio_open(&s->pb, feed->feed_filename, URL_WRONLY) < 0) {
|
|
3770 |
if (avio_open(&s->pb, feed->feed_filename, AVIO_WRONLY) < 0) {
|
|
3771 | 3771 |
http_log("Could not open output feed file '%s'\n", |
3772 | 3772 |
feed->feed_filename); |
3773 | 3773 |
exit(1); |
Also available in: Unified diff