summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2017-12-31 08:42:26 -0800
committerBradley Sepos <[email protected]>2018-01-10 01:39:56 -0500
commit94f4c41daa72a6479b1d6e66d322d61be41b427f (patch)
tree9da2dc3f3e705ac5d29cc5ac5624e8743a4da714 /libhb
parent5c523dcaae9b69a3235a4b20631bc922afd028ca (diff)
encx264: check correct build number in ifdef
The multi-lib change actually happend in build 153
Diffstat (limited to 'libhb')
-rw-r--r--libhb/encx264.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/encx264.c b/libhb/encx264.c
index 593111fb0..04ac22824 100644
--- a/libhb/encx264.c
+++ b/libhb/encx264.c
@@ -151,7 +151,7 @@ static void * x264_lib_open_ubuntu_10bit(void)
void hb_x264_global_init(void)
{
-#if X264_BUILD < 155
+#if X264_BUILD < 153
x264_apis[0].bit_depth = x264_bit_depth;
#else
x264_apis[0].bit_depth = X264_BIT_DEPTH;
@@ -214,7 +214,7 @@ void hb_x264_global_init(void)
int ii;
int dll_bitdepth = 0;
-#if X264_BUILD < 155
+#if X264_BUILD < 153
int *pbit_depth = (int*)hb_dlsym(h, "x264_bit_depth");
if (pbit_depth != NULL)
{
@@ -222,7 +222,7 @@ void hb_x264_global_init(void)
}
#endif
x264_apis[1].param_default = hb_dlsym(h, "x264_param_default");
-#if X264_BUILD >= 155
+#if X264_BUILD >= 153
if (x264_apis[1].param_default != NULL)
{
x264_param_t defaults;
@@ -359,7 +359,7 @@ int encx264Init( hb_work_object_t * w, hb_job_t * job )
return 1;
}
-#if X264_BUILD >= 155
+#if X264_BUILD >= 153
param.i_bitdepth = bit_depth;
#endif