[x265] [PATCH 0/3] Fix Wundef warnings and defines in .pc file

Johannes Kauffmann johanneskauffmann at hotmail.com
Thu Jun 8 22:11:40 UTC 2023


- Fix all Wundef warnings when building x265 client apps.
- Add defines needed by both x265 and client apps to the .pc file.

Johannes Kauffmann (3):
  Fix Wundef for _MSC_VER
  Fix Wundef for ENABLE_LIBVMAF
  Add defines needed by client apps to .pc file

 source/CMakeLists.txt                 | 15 +++++++++++----
 source/abrEncApp.cpp                  |  4 ++--
 source/common/bitstream.cpp           |  2 +-
 source/common/common.h                |  4 ++--
 source/common/cpu.cpp                 |  2 +-
 source/common/cpu.h                   |  4 ++--
 source/common/dct.cpp                 |  2 +-
 source/common/ipfilter.cpp            |  2 +-
 source/common/mv.h                    |  2 +-
 source/common/param.cpp               |  4 ++--
 source/common/picyuv.cpp              |  2 +-
 source/common/pixel.cpp               |  2 +-
 source/common/predict.cpp             |  2 +-
 source/common/ringmem.h               |  2 +-
 source/common/scaler.cpp              |  2 +-
 source/common/threadpool.cpp          |  2 +-
 source/common/version.cpp             |  2 +-
 source/dynamicHDR10/json11/json11.cpp |  2 +-
 source/encoder/api.cpp                | 20 ++++++++++----------
 source/encoder/encoder.cpp            |  6 +++---
 source/encoder/frameencoder.cpp       |  4 ++--
 source/encoder/frameencoder.h         |  2 +-
 source/encoder/motion.cpp             |  2 +-
 source/encoder/ratecontrol.cpp        |  4 ++--
 source/encoder/search.cpp             |  2 +-
 source/input/y4m.cpp                  |  2 +-
 source/input/yuv.cpp                  |  2 +-
 source/output/raw.cpp                 |  2 +-
 source/test/testharness.h             |  2 +-
 source/x265.cpp                       |  2 +-
 source/x265.h                         |  8 ++++----
 source/x265.pc.in                     |  2 +-
 source/x265cli.cpp                    |  6 +++---
 33 files changed, 65 insertions(+), 58 deletions(-)

-- 
2.34.1



More information about the x265-devel mailing list