X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavformat%2Fsrtpproto.c;h=e6e035aa3ef499b0dfe55a40a5c625d7af3d772d;hb=d60c2d5216930ef98c7d4d6837d6229b37e0dcb3;hp=2c64f451aa5e681caa55ca19e8f393f86fae907a;hpb=8c0ceafb0f25da077ff23e394667119f031574fd;p=ffmpeg diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c index 2c64f451aa5..e6e035aa3ef 100644 --- a/libavformat/srtpproto.c +++ b/libavformat/srtpproto.c @@ -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(&s->rtp_hd, buf, flags, &h->interrupt_callback, NULL, - h->protocols)) < 0) + h->protocols, h)) < 0) goto fail; h->max_packet_size = FFMIN(s->rtp_hd->max_packet_size,