Revision f87b1b37 libavformat/mmsh.c
libavformat/mmsh.c | ||
---|---|---|
233 | 233 |
port = 80; // default mmsh protocol port |
234 | 234 |
ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, path); |
235 | 235 |
|
236 |
if (ffurl_alloc(&mms->mms_hd, httpname, URL_RDONLY) < 0) {
|
|
236 |
if (ffurl_alloc(&mms->mms_hd, httpname, AVIO_RDONLY) < 0) {
|
|
237 | 237 |
return AVERROR(EIO); |
238 | 238 |
} |
239 | 239 |
|
... | ... | |
261 | 261 |
// close the socket and then reopen it for sending the second play request. |
262 | 262 |
ffurl_close(mms->mms_hd); |
263 | 263 |
memset(headers, 0, sizeof(headers)); |
264 |
if (ffurl_alloc(&mms->mms_hd, httpname, URL_RDONLY) < 0) {
|
|
264 |
if (ffurl_alloc(&mms->mms_hd, httpname, AVIO_RDONLY) < 0) {
|
|
265 | 265 |
return AVERROR(EIO); |
266 | 266 |
} |
267 | 267 |
stream_selection = av_mallocz(mms->stream_num * 19 + 1); |
Also available in: Unified diff