shithub: openh264

Download patch

ref: 523d4bddf10d20fff4c18af0f72455d72bb51c5d
parent: 6755508232d64f50c257f42a8d174e1fb9cc1bbb
parent: 9edcf7492ec9b6a8bc45f28ad45276b78019423a
author: huili2 <[email protected]>
date: Mon Jan 8 09:59:21 EST 2018

Merge pull request #2898 from ruil2/temporal

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)