]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mmst.c
avformat/framehash: enable new output
[ffmpeg] / libavformat / mmst.c
index 21cf2a6d434a9d1d4b87b55ed398047936b83493..0f48b4615e8056a191ef65b1ec8954fc07f32f7a 100644 (file)
@@ -530,7 +530,7 @@ static int mms_open(URLContext *h, const char *uri, int flags)
     ff_url_join(tcpname, sizeof(tcpname), "tcp", NULL, mmst->host, port, NULL);
     err = ffurl_open_whitelist(&mms->mms_hd, tcpname, AVIO_FLAG_READ_WRITE,
                                &h->interrupt_callback, NULL,
-                               h->protocol_whitelist);
+                               h->protocol_whitelist, h->protocol_blacklist);
     if (err)
         goto fail;
 
@@ -629,7 +629,7 @@ static int mms_read(URLContext *h, uint8_t *buf, int size)
     return result;
 }
 
-URLProtocol ff_mmst_protocol = {
+const URLProtocol ff_mmst_protocol = {
     .name           = "mmst",
     .url_open       = mms_open,
     .url_read       = mms_read,