[FFmpeg-devel] [PATCH] libavformat/dashdec.c Fix for ticket #7395
Evgeniy Pantyuhin
pntxn at mail.ru
Fri Dec 8 00:01:29 EET 2023
Hello Anton,
Thursday, December 7, 2023, 8:32:33 PM, you wrote:
>>libavformat/dashdec.c Fix for ticket #7395
> "fix bug" is not a useful commit message
DASH demuxing error "unterminated entity reference" due to ampersand in URL
Commit 7a63da8 broke the DASH demuxer if the manifest contains a BaseURL with an ampersand (&) or other characters that need to be escaped in XML.
This is because the method resolve_content_path calls xmlNodeGetContent, which unescapes the string, and then passes it back to xmlNodeSetContent, which apparently expects an escaped string.
Unfortunately I cannot provide an example MPD, but it should be easy enough to manufacture one by simply adding &v=3 or so to the BaseURL in a simple manifest.
--
Best regards,
Evgeniy mailto:pntxn at mail.ru
More information about the ffmpeg-devel
mailing list