diff options
Diffstat (limited to 'libavformat/applehttp.c')
-rw-r--r-- | libavformat/applehttp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/applehttp.c b/libavformat/applehttp.c index 639cfcdce4..44a27a510e 100644 --- a/libavformat/applehttp.c +++ b/libavformat/applehttp.c @@ -31,6 +31,7 @@ #include "internal.h" #include <unistd.h> #include "avio_internal.h" +#include "url.h" #define INITIAL_BUFFER_SIZE 32768 @@ -169,7 +170,7 @@ static int parse_playlist(AppleHTTPContext *c, const char *url, if (!in) { close_in = 1; - if ((ret = avio_open(&in, url, URL_RDONLY)) < 0) + if ((ret = avio_open(&in, url, AVIO_RDONLY)) < 0) return ret; } @@ -292,7 +293,7 @@ reload: ret = url_open(&v->input, v->segments[v->cur_seq_no - v->start_seq_no]->url, - URL_RDONLY); + AVIO_RDONLY); if (ret < 0) return ret; } |