aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/applehttpproto.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-11-06 23:11:29 +0200
committerAnton Khirnov <anton@khirnov.net>2011-11-13 13:20:49 +0100
commit9d77a8faf9568f02daf06903559473efb4050c34 (patch)
tree1cb114b4b834a7a5ba94665f13971ca821973d69 /libavformat/applehttpproto.c
parent1dee0aca7401fc6c01f23ceedaff6533efb0fb28 (diff)
downloadffmpeg-9d77a8faf9568f02daf06903559473efb4050c34.tar.gz
avformat: Use avio_open2, pass the AVFormatContext interrupt_callback onwards
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/applehttpproto.c')
-rw-r--r--libavformat/applehttpproto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/applehttpproto.c b/libavformat/applehttpproto.c
index 2123423452..0e64dadb39 100644
--- a/libavformat/applehttpproto.c
+++ b/libavformat/applehttpproto.c
@@ -114,7 +114,8 @@ static int parse_playlist(URLContext *h, const char *url)
char line[1024];
const char *ptr;
- if ((ret = avio_open(&in, url, AVIO_FLAG_READ)) < 0)
+ if ((ret = avio_open2(&in, url, AVIO_FLAG_READ,
+ &h->interrupt_callback, NULL)) < 0)
return ret;
read_chomp_line(in, line, sizeof(line));