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>
pull/383/head
Andreas Rheinhardt 3 years ago
parent 4c03928f4d
commit 20b0b2be6c
  1. 2
      libavformat/tests/imf.c

@ -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);

Loading…
Cancel
Save