shithub: openh264

Download patch

ref: 0339cd51c59367f6d4ae37e22ad2b8388efe0e80
parent: 109fecc5477ef9128daeea396c59f1bab5305294
author: Martin Storsjö <[email protected]>
date: Thu Jan 23 13:54:58 EST 2014

Unify the definition of WELS_THREAD_ERROR_CODE between libraries

This simplifies the code base, reduces the risk for mixups and
gets rid of the use of a local nonstandard typedef.

--- a/codec/processing/src/common/thread.h
+++ b/codec/processing/src/common/thread.h
@@ -71,7 +71,7 @@
 
 #endif
 
-typedef long_t WELS_THREAD_ERROR_CODE;
+typedef int32_t WELS_THREAD_ERROR_CODE;
 
 #define   WELS_THREAD_ERROR_OK					0
 #define   WELS_THREAD_ERROR_GENERAL			((unsigned long)(-1))