diff options
author | Martin Storsjö <martin@martin.st> | 2011-11-06 22:50:44 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-13 13:12:17 +0100 |
commit | 6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0 (patch) | |
tree | b97fb7b744d0d6d1d3611465b055dd10c17d8ebc /libavformat/applehttpproto.c | |
parent | 9957cdbfd5ced5baae6ec97b97b08f1ad42aa4e4 (diff) | |
download | ffmpeg-6f1b7b39449c4cd58e37d831d5d97bfd25eb26f0.tar.gz |
avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_alloc
Change all uses of these function to pass the relevant
callback on.
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 1476ea28f2..e8d1b495ed 100644 --- a/libavformat/applehttpproto.c +++ b/libavformat/applehttpproto.c @@ -274,7 +274,8 @@ retry: } url = s->segments[s->cur_seq_no - s->start_seq_no]->url, av_log(h, AV_LOG_DEBUG, "opening %s\n", url); - ret = ffurl_open(&s->seg_hd, url, AVIO_FLAG_READ); + ret = ffurl_open(&s->seg_hd, url, AVIO_FLAG_READ, + &h->interrupt_callback); if (ret < 0) { if (ff_check_interrupt(&h->interrupt_callback)) return AVERROR_EXIT; |