shithub: openh264

Download patch

ref: 9edcf7492ec9b6a8bc45f28ad45276b78019423a
parent: d2e5769dced4f85e45b9a21257da2943435129ea
author: ruil2 <ruil2@cisco.com>
date: Mon Jan 8 09:19:36 EST 2018

fix error ouputfile setting

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -856,6 +856,10 @@
       iRet = 1;
       goto INSIDE_MEM_FREE;
     }
+  } else {
+    fprintf (stderr, "Don't set the proper bitstream filename!\n");
+    iRet = 1;
+    goto INSIDE_MEM_FREE;
   }
 
 #if defined(COMPARE_DATA)
--- a/testbin/welsenc_arbitrary_res.cfg
+++ b/testbin/welsenc_arbitrary_res.cfg
@@ -6,7 +6,7 @@
 SourceWidth                      152            # Input  frame width
 SourceHeight                     100            # Input  frame height
 InputFile       ../res/Static_152_100.yuv       # Input  file
-wutputFile                       Static.264     # Bitstream file
+OutputFile                       Static.264     # Bitstream file
 MaxFrameRate                     30             # Maximum frame rate [Hz]
 FramesToBeEncoded                -1             # Number of frames (at input frame rate)