]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/srtpproto.c
cfhd: Do not initialize context size
[ffmpeg] / libavformat / srtpproto.c
index 470f87bc378b8992f06d1585aa01693bc509e430..ef87c08e0d27f4921a1092241a23b7900b621c11 100644 (file)
@@ -81,7 +81,7 @@ static int srtp_open(URLContext *h, const char *uri, int flags)
                  path, sizeof(path), uri);
     ff_url_join(buf, sizeof(buf), "rtp", NULL, hostname, rtp_port, "%s", path);
     if ((ret = ffurl_open_whitelist(&s->rtp_hd, buf, flags, &h->interrupt_callback,
-                                    NULL, h->protocol_whitelist)) < 0)
+                                    NULL, h->protocol_whitelist, h->protocol_blacklist)) < 0)
         goto fail;
 
     h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size,