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/mmst.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/mmst.c')
-rw-r--r-- | libavformat/mmst.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/mmst.c b/libavformat/mmst.c index e1904de1e2..e69d330e1b 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -523,7 +523,8 @@ static int mms_open(URLContext *h, const char *uri, int flags) // establish tcp connection. ff_url_join(tcpname, sizeof(tcpname), "tcp", NULL, mmst->host, port, NULL); - err = ffurl_open(&mms->mms_hd, tcpname, AVIO_FLAG_READ_WRITE); + err = ffurl_open(&mms->mms_hd, tcpname, AVIO_FLAG_READ_WRITE, + &h->interrupt_callback); if (err) goto fail; |