On Thu, Mar 04, 2021 at 15:38:56 +0800, gaojiang...@live.com wrote:

> Subject: avformat/rtsp: fix https://trac.ffmpeg.org/ticket/7517

Please write what you actually do in the first line summary of the commit
message, and mention the trac ticket in the body.

> +    AVDictionary *opts = map_to_opts(rt);
>      ret = ffurl_open_whitelist(&in, s->url, AVIO_FLAG_READ,
> -                     &s->interrupt_callback, NULL, s->protocol_whitelist, 
> s->protocol_blacklist, NULL);
> +                     &s->interrupt_callback, &opts, s->protocol_whitelist, 
> s->protocol_blacklist, NULL);
>      if (ret)
>          goto fail;

map_to_opts() requires a corresponding av_dict_free().

Moritz
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to