mcst-linux-kernel/patches-2024.06.26/x264-0.164/0006-Backup-x264_bit_depth-...

22 lines
831 B
Diff

--- a/common/common.c 2019-11-13 15:30:07.000000000 +0300
+++ b/common/common.c 2019-11-26 15:53:18.780142933 +0300
@@ -26,6 +26,7 @@
#include "common.h"
+const int x264_bit_depth = BIT_DEPTH;
/****************************************************************************
* x264_log:
****************************************************************************/
--- a/x264.h 2019-11-26 16:18:03.902843548 +0300
+++ b/x264.h 2019-11-26 16:10:15.005096194 +0300
@@ -695,6 +695,8 @@
* Picture structures and functions
****************************************************************************/
+X264_API extern const int x264_bit_depth;
+
/* x264_chroma_format:
* Specifies the chroma formats that x264 supports encoding. When this
* value is non-zero, then it represents a X264_CSP_* that is the only