shithub: libvpx

Download patch

ref: 287d1d64ea7c325033aad4453913da3a1665b2b4
parent: ed595c406abe3feec56425a3bc451b39d70bc001
author: sdeng <[email protected]>
date: Fri Apr 5 05:30:46 EDT 2019

tiny_ssim: Fix an 'Uninitialized argument value' bug

found by clang-7.0.1 static analysis.
BUG=webm:1616

Change-Id: I2f7d1376e82e35227ad96d34417014ce5680ad96

--- a/tools/tiny_ssim.c
+++ b/tools/tiny_ssim.c
@@ -331,8 +331,7 @@
             "Usage: %s file1.{yuv|y4m} file2.{yuv|y4m}"
             "[WxH tl_skip={0,1,3} frame_stats_file bits]\n",
             argv[0]);
-    return_value = 1;
-    goto clean_up;
+    return 1;
   }
 
   if (argc > 3) {