Rotate use NULL for C compatability

Bug: b/353323977
Change-Id: I2472f23ce8fcc0bc09a292bd6fb758304c6c2b18
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5735714
Reviewed-by: Wan-Teh Chang <wtc@google.com>
This commit is contained in:
Frank Barchard 2024-07-23 10:32:38 -07:00
parent 36abe81e92
commit 4cd90347e7
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: https://chromium.googlesource.com/libyuv/libyuv/
Version: 1891
Version: 1892
License: BSD
License File: LICENSE
Shipped: yes

View File

@ -28,7 +28,7 @@ extern "C" {
#endif
// clang >= 19.0.0 required for SME
#if defined(__clang__) && defined(__aarch64__) && !defined(LIBYUV_DISABLE_SME)
#if !defined(LIBYUV_DISABLE_SME) && defined(__clang__) && defined(__aarch64__)
#if __clang_major__ < 19
#define LIBYUV_DISABLE_SME
#endif

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1891
#define LIBYUV_VERSION 1892
#endif // INCLUDE_LIBYUV_VERSION_H_

View File

@ -33,7 +33,7 @@ void TransposePlane(const uint8_t* src,
int i = height;
#if defined(HAS_TRANSPOSEWXH_SME)
void (*TransposeWxH)(const uint8_t* src, int src_stride, uint8_t* dst,
int dst_stride, int width, int height) = nullptr;
int dst_stride, int width, int height) = NULL;
#endif
#if defined(HAS_TRANSPOSEWX16_MSA) || defined(HAS_TRANSPOSEWX16_LSX) || \
defined(HAS_TRANSPOSEWX16_NEON)