ffmpeg | branch: release/5.0 | Andreas Rheinhardt <[email protected]> | 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 <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> > 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); _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
