avformat/tests/imf: Don't use uninitialized value

Reviewed-by: Zane van Iperen <zane@zanevaniperen.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-01-04 10:25:08 +01:00
parent 4c03928f4d
commit 20b0b2be6c

View File

@ -347,7 +347,7 @@ static int test_bad_cpl_parsing(void)
doc = xmlReadMemory(cpl_bad_doc, strlen(cpl_bad_doc), NULL, NULL, 0);
if (doc == NULL) {
printf("XML parsing failed.\n");
return ret;
return 1;
}
ret = ff_imf_parse_cpl_from_xml_dom(doc, &cpl);