File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ void tvconv_checkReInit(void* const hTVCnv)
204
204
{
205
205
tvconv_data * pData = (tvconv_data * )(hTVCnv );
206
206
207
- while (pData -> procStatus == CODEC_STATUS_INITIALISING ){
207
+ while (pData -> procStatus == /* FIXME: this comparison between different enum types is surely wrong? */ ( PROC_STATUS ) CODEC_STATUS_INITIALISING ){
208
208
SAF_SLEEP (10 );
209
209
}
210
210
/* reinitialise if needed */
Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ elseif(APPLE AND ${SAF_PERFORMANCE_LIB} MATCHES "SAF_USE_APPLE_ACCELERATE")
172
172
target_compile_definitions (${PROJECT_NAME} PUBLIC SAF_USE_APPLE_ACCELERATE=1)
173
173
target_link_libraries (${PROJECT_NAME} PUBLIC "-framework Accelerate" )
174
174
175
+ # These are just because of zlib
176
+ target_compile_options (${PROJECT_NAME} PRIVATE -Wno-macro-redefined -Wno-strict-prototypes)
175
177
else ()
176
178
message (SEND_ERROR "The specified SAF_PERFORMANCE_LIB is not supported" )
177
179
You can’t perform that action at this time.
0 commit comments