shithub: openh264

Download patch

ref: 72da7f87115ed62e5820987a1f8421e8f45da4d1
parent: ad8dc32755a0411e2c6b14cf48f81b0cfe97852b
author: Martin Storsjö <[email protected]>
date: Tue Mar 18 06:08:54 EDT 2014

Remove an unused error code

I don't see this error code being useful - working slowly hardly
would be a reason for the library to return and fail to do what
it was asked to do, so normal functions would never actually return
this code.

--- a/codec/api/svc/codec_def.h
+++ b/codec/api/svc/codec_def.h
@@ -69,9 +69,6 @@
 typedef enum {
   cmResultSuccess,
   cmInitParaError,                  /*Parameters are invalid */
-  cmMachPerfIsBad,                  /*The performance of machine is not enough to support
-									    H264 CODEC, in this case, suggestion user use h263
-										or set fps to low like 5fps or more low*/
   cmUnkonwReason,
   cmMallocMemeError,                /*Malloc a memory error*/
   cmInitExpected,			  /*Initial action is expected*/