X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtmphttp.c;h=ef6146ca8640eaa13ca9c374f9553702e13b10d3;hb=b9f2f93261548f7cfdfc7a4040b23baed11e5554;hp=e5ce10ca4f0235ff3a6311ce6e6a8c56a840f909;hpb=1398ded7a77b2057a3e9983e3df512855b7ff0eb;p=ffmpeg diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c index e5ce10ca4f0..ef6146ca864 100644 --- a/libavformat/rtmphttp.c +++ b/libavformat/rtmphttp.c @@ -208,7 +208,7 @@ static int rtmp_http_open(URLContext *h, const char *uri, int flags) } /* alloc the http context */ - if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, NULL)) < 0) + if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, &h->interrupt_callback)) < 0) goto fail; /* set options */