]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtmphttp.c
Merge commit 'e5b019725f53b79159931d3a7317107cbbfd0860'
[ffmpeg] / libavformat / rtmphttp.c
index e5ce10ca4f0235ff3a6311ce6e6a8c56a840f909..ef6146ca8640eaa13ca9c374f9553702e13b10d3 100644 (file)
@@ -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 */