[FFmpeg-cvslog] avformat/tests/imf: Don't use uninitialized value
Andreas Rheinhardt
git at videolan.org
Tue Jan 4 15:27:20 EET 2022
ffmpeg | branch: release/5.0 | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Jan 4 10:25:08 2022 +0100| [20b0b2be6c6f7c2c3949e4e004fad78748e76b9b] | committer: Andreas Rheinhardt
avformat/tests/imf: Don't use uninitialized value
Reviewed-by: Zane van Iperen <zane at zanevaniperen.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20b0b2be6c6f7c2c3949e4e004fad78748e76b9b
---
libavformat/tests/imf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list