On 4/1/22 16:11, [email protected] 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".
Otherwise, this lgtm, I'll apply and backport this soon with that change.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".