diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 10:25:08 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 10:37:53 +0100 |
commit | b01ac2d86343a7dbfdee3f9f54065d8aefa22838 (patch) | |
tree | ad19f90cf7dc63ec24fefef3bf6a956fb54bfe29 | |
parent | 1f447cf9c4821646886ee84d64051b25fdafe2b6 (diff) | |
download | ffmpeg-b01ac2d86343a7dbfdee3f9f54065d8aefa22838.tar.gz |
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>
(cherry picked from commit 20b0b2be6c6f7c2c3949e4e004fad78748e76b9b)
-rw-r--r-- | libavformat/tests/imf.c | 2 |
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); |