[FFmpeg-devel] [PATCH v1] avformat/rtsp: fix https://trac.ffmpeg.org/ticket/7517
Moritz Barsnick
barsnick at gmx.net
Thu Mar 4 12:25:17 EET 2021
On Thu, Mar 04, 2021 at 15:38:56 +0800, gaojiangjie at 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
More information about the ffmpeg-devel
mailing list