diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-06 23:11:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:20:49 +0100 |
commit | 9d77a8faf9568f02daf06903559473efb4050c34 (patch) | |
tree | 1cb114b4b834a7a5ba94665f13971ca821973d69 /libavformat/applehttpproto.c | |
parent | 1dee0aca7401fc6c01f23ceedaff6533efb0fb28 (diff) | |
download | ffmpeg-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.c | 3 |
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)); |