shithub: openh264

Download patch

ref: 77f47edf3bb220764326d696e497bd682b0d3434
parent: 58c33b8ee807e1864b41bbb30a738b8c37521882
author: Varun B Patil <varun.basavaraj.patil@gmail.com>
date: Sat Jan 25 06:56:02 EST 2014

include ifdef guard

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -69,8 +69,9 @@
 #include "set_mb_syn_cavlc.h"
 #include "crt_util_safe_x.h"	// Safe CRT routines like utils for cross platforms
 #include "array_stack_align.h"
-// for MT, 4/22/2010
+#if defined(MT_ENABLED)
 #include "slice_multi_threading.h"
+#endif//MT_ENABLED
 #if defined(DYNAMIC_SLICE_ASSIGN) || defined(MT_DEBUG)
 #include "measure_time.h"
 #endif//DYNAMIC_SLICE_ASSIGN