This simplifies the code base, reduces the risk for mixups and gets rid of the use of a local nonstandard typedef.
Showing the changes to codec/processing/src (1 of 1 file). Show all
Unified · Split
| @@ -71,7 +71,7 @@ typedef pthread_mutex_t WELS_MUTEX; · 70 unmodified lines | |||
| 71 | 71 | ||
| 72 | #endif | 72 | #endif |
| 73 | 73 | ||
| 74 | typedef long_t WELS_THREAD_ERROR_CODE; | 74 | typedef int32_t WELS_THREAD_ERROR_CODE; |
| 75 | 75 | ||
| 76 | #define WELS_THREAD_ERROR_OK 0 | 76 | #define WELS_THREAD_ERROR_OK 0 |
| 77 | #define WELS_THREAD_ERROR_GENERAL ((unsigned long)(-1)) | 77 | #define WELS_THREAD_ERROR_GENERAL ((unsigned long)(-1)) |