[FFmpeg-trac] #7395(avformat:new): DASH demuxing error "unterminated entity reference" due to ampersand in URL
FFmpeg
trac at avcodec.org
Mon Sep 3 17:53:43 EEST 2018
#7395: DASH demuxing error "unterminated entity reference" due to ampersand in URL
-------------------------------------+-------------------------------------
Reporter: Starchild | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: dash, | master
dashdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7395>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list