[FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395
Evgeniy Pantyuhin
pntxn at mail.ru
Wed Dec 6 22:32:40 EET 2023
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
More information about the ffmpeg-devel
mailing list