summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/tests/imf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tests/imf.c b/libavformat/tests/imf.c
index 68e4c8b6af..142aa04261 100644
--- a/libavformat/tests/imf.c
+++ b/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);