mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
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:
parent
4c03928f4d
commit
20b0b2be6c
@ -347,7 +347,7 @@ static int test_bad_cpl_parsing(void)
|
|||||||
doc = xmlReadMemory(cpl_bad_doc, strlen(cpl_bad_doc), NULL, NULL, 0);
|
doc = xmlReadMemory(cpl_bad_doc, strlen(cpl_bad_doc), NULL, NULL, 0);
|
||||||
if (doc == NULL) {
|
if (doc == NULL) {
|
||||||
printf("XML parsing failed.\n");
|
printf("XML parsing failed.\n");
|
||||||
return ret;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = ff_imf_parse_cpl_from_xml_dom(doc, &cpl);
|
ret = ff_imf_parse_cpl_from_xml_dom(doc, &cpl);
|
||||||
|
Loading…
Reference in New Issue
Block a user