Re: [FFmpeg-devel] [PATCH v1] avformat/imf: fix error CPL root element is absent

2022-01-04 Thread Zane van Iperen
On 4/1/22 16:11, p...@sandflow.com wrote: cpl_element = xmlDocGetRootElement(doc); -if (xmlStrcmp(cpl_element->name, "CompositionPlaylist")) { +if ((!cpl_element) || xmlStrcmp(cpl_element->name, "CompositionPlaylist")) { Nit: Extra set of parens around "!cpl_element".

[FFmpeg-devel] [PATCH v1] avformat/imf: fix error CPL root element is absent

2022-01-03 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Found through manual fuzzing. libavformat/imf_cpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/imf_cpl.c b/libavformat/imf_cpl.c index 7055b49ae8..167244a5a2 100644 ---