[FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395
Steven Liu
lingjiujianke at gmail.com
Thu Dec 7 05:56:16 EET 2023
Evgeniy Pantyuhin via ffmpeg-devel <ffmpeg-devel at ffmpeg.org>
于2023年12月7日周四 04:32写道:
>
> Signed-off-by: Evgeniy <pntxn at mail.ru>
> ---
> libavformat/dashdec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
> index 29d4680..36e4719 100644
> --- a/libavformat/dashdec.c
> +++ b/libavformat/dashdec.c
> @@ -768,7 +768,7 @@ static int resolve_content_path(AVFormatContext *s, const char *url, int *max_ur
> baseurl = xmlNodeGetContent(node);
> root_url = (av_strcasecmp(baseurl, "")) ? baseurl : path;
> if (node) {
> - xmlNodeSetContent(node, root_url);
> + xmlNodeSetContent(node, xmlEncodeEntitiesReentrant(NULL, root_url));
> updated = 1;
> }
>
> --
> 2.40.0.windows.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
LGTM
Thanks
Steven
More information about the ffmpeg-devel
mailing list