X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmmst.c;h=0f48b4615e8056a191ef65b1ec8954fc07f32f7a;hb=0efafc5849037046c3834769d6e20d33fae0c769;hp=21cf2a6d434a9d1d4b87b55ed398047936b83493;hpb=2814f06abf43455a470e5a509c21c65faa2e53c1;p=ffmpeg diff --git a/libavformat/mmst.c b/libavformat/mmst.c index 21cf2a6d434..0f48b4615e8 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -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,