Commit 1bca6231 for openh264
commit 1bca62311e447fd9c39fc93de2c4b96cd5ce971c
Author: BenzhengZhang <140143892+BenzhengZhang@users.noreply.github.com>
Date: Mon Oct 12 16:14:12 2026 +0800
update openh264v2.7.0 version and release note (#4050)
* update openh264 version to v2.7.0
* update release note for v2.7.0
---------
Co-authored-by: benzzhan <benzzhan@cisco.com>
diff --git a/Makefile b/Makefile
index 04182591..4325ab5a 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ USE_LOW_VERSION_NDK=No
USE_ANT=No
SHAREDLIB_MAJORVERSION=8
-FULL_VERSION := 2.6.0
+FULL_VERSION := 2.7.0
ifeq (,$(wildcard $(SRC_PATH)gmp-api))
HAVE_GMP_API=No
diff --git a/RELEASES b/RELEASES
index 5adfd43e..58652fc0 100644
--- a/RELEASES
+++ b/RELEASES
@@ -1,6 +1,68 @@
Releases
-----------
+v2.7.0
+------
+- Optimize AArch64 NEON 16x8 and 16x16 SAD (Commit: 6fe62b8f, PR: #4041)
+- Fix signed integer overflow in CVpFrameWork::CheckValid() (Commit: bb719990, PR: #4047)
+- Re-land #4002 and #4010 with a fix for the stall they caused (Commit: 1a0073f0, PR: #4019)
+- Build iOS libraries in CI (Commit: 8b2d28fa, PR: #4023)
+- Build Android libraries for all supported ABIs in CI (Commit: 4a7bf589, PR: #4021)
+- Align Android shared libraries to 16 KB pages (Commit: 58295518, PR: #3997)
+- Fix regression when encoding very large frames (Commit: 6e99da76, PR: #4016)
+- Teach GMP encoder to notify on encoding failures (Commit: 868922c2, PR: #4017)
+- Revert PR4002 and PR4010 (Commit: 6b35819a, PR: #4015)
+- Fix bi-predicted 16x8/8x16 macroblocks in B slices (Commit: 94085e61, PR: #4004)
+- Make decoder input data outlive OpenH264VideoDecoder::Decode_w() (Commit: 13595036, PR: #4009)
+- Clear stale hand-off signals when the new-sequence chain is cut (Commit: 4a0b5547, PR: #4010)
+- Bound AVCC SPS/PPS walk against codec-specific data size (Commit: 303b005f, PR: #3991)
+- Guard threaded DPB reallocation (Commit: 0bab7fe8, PR: #4002)
+- Guard ResetCurrentAccessUnit against AU list counter overflow (Commit: 9d974972, PR: #4000)
+- Revert the threaded post-return writes fix for caller ppDst (Commit: a72a8466, PR: #4003)
+- Avoid threaded post-return writes to caller ppDst (Commit: 5bfbf01c, PR: #4001)
+- Re-sync threaded reference snapshot after MMCO5 reset (Commit: cd7a487e, PR: #3999)
+- Serialize buffered-picture queue under the decoder lock (Commit: b4cffc30, PR: #3998)
+- Zero-initialize CWelsDecoder reordering state in the constructor (Commit: 80760028, PR: #3996)
+- Restrict IncreasePicBuff ownership reset to new slots only (Commit: 873ecbe6, PR: #3995)
+- Snapshot per-thread previous decoded picture before the finish signal (Commit: 960414d6, PR: #3994)
+- Guard sRawData wrap against queued slice overwrite (Commit: 562ffca1, PR: #3993)
+- Retarget parse-only pNalPos after saved-buffer growth (Commit: 2b2f9610, PR: #3992)
+- Use memset instead of MMX for fixed-size buffer zeroing (Commit: 728ec6a6, PR: #3987)
+- Validate error-concealment copy source and destination compatibility (Commit: 3137f7f1, PR: #3990)
+- Fix final load-balancing argument parsing (Commit: 24d74dbf, PR: #3974)
+- Validate GMP BufferLength32 lengths before rewrite (Commit: d7ec45ab, PR: #3971)
+- Harden bitstream tail reads against out-of-bounds access (Commit: 1bc7c224, PR: #3989)
+- Prevent signed integer overflow in rate-control target bit allocation (Commit: 9547f96e, PR: #3982)
+- Fix decoder sanitizer findings in unit tests and timeout math (Commit: 5c41f379, PR: #3986)
+- Fix ExpandBsBuffer queued retarget use-after-free (Commit: 772e63d3, PR: #3985)
+- Re-derive stale thread picture before reference write (Commit: 4cbd8a1c, PR: #3984)
+- Prevent threaded decoder deadlock on lost references (Commit: 3738dd5c, PR: #3983)
+- Validate chroma strides before downsampling (Commit: 8ed65601, PR: #3977)
+- Guard GetColocatedMb against a null colocated picture before waiting (Commit: 98bc7cbb, PR: #3978)
+- Validate encoder geometry area using widened arithmetic (Commit: 24ff6e94, PR: #3976)
+- Add coverage for the per-frame PSNR API (Commit: 35325f40, PR: #3975)
+- Bounds-check CAVLC I_PCM copy before reading the bitstream (Commit: 4a2615fa, PR: #3968)
+- Validate FMO slice-group run length before building the allocation map (Commit: d59cefb5, PR: #3967)
+- Fix slice buffer size validation and allocation during dynamic load balancing (Commit: fca40fc1, PR: #3966)
+- Fix asymmetric chroma plane stride handling in encoder preprocessing (Commit: e22b2731, PR: #3961)
+- Initialize iPicBuffIdx and validate it before picture buffer indexing (Commit: 5afa9190, PR: #3965)
+- Fix thread cleanup and memory leaks during partial initialization (Commit: 1189afa8, PR: #3959)
+- Clamp screen-content scroll motion vectors to the configured range (Commit: 1253268a, PR: #3962)
+- Revert dynamic slice adjustment for frames with extreme aspect ratios (Commit: 95eb9b05, PR: #3964)
+- Fix dynamic slice adjustment for frames with extreme aspect ratios (Commit: d91f567b, PR: #3960)
+- Fix SumOfFrame for extremely wide frames (Commit: 6d95111e, PR: #3958)
+- Prevent potential undefined behavior in WelsCommon::BsFlush() (Commit: 40555ec6, PR: #3957)
+- Upgrade bundled gtest to 1.15.2 (Commit: 3bc90ba5, PR: #3963)
+- Allocate enough space for all slices (Commit: a8e04adb, PR: #3956)
+- Harden parse-only VCL NAL save logic in au_parser (Commit: e3f5b104, PR: #3944)
+- Guard AArch64 assembly with __aarch64__ (Commit: cf568c83, PR: #3905)
+- Fix crashes on 2k3000 (Commit: 1c5ac2f8, PR: #3897)
+- Update Windows/MinGW CI (Commit: a0175163, PR: #3906)
+- Add FreeBSD to common POSIX platforms in meson.build (Commit: 0c9a557a, PR: #3867)
+- Fix issue #3837 (Commit: c2e7c4a3, PR: #3868)
+- Remove unused parameters in VAACalcSad_lsx (Commit: f2853499, PR: #3864)
+- Update shared library version for Meson (Commit: a85e1187, PR: #3860)
+
v2.6.0
------
- Initialize PSNR to 0 instead of NAN (Commit: cf3b514b, PR: #3836)
diff --git a/build/platform-darwin.mk b/build/platform-darwin.mk
index c941b310..9d2576a3 100644
--- a/build/platform-darwin.mk
+++ b/build/platform-darwin.mk
@@ -3,8 +3,8 @@ SHAREDLIB_DIR = $(PREFIX)/lib
SHAREDLIBSUFFIX = dylib
SHAREDLIBSUFFIXFULLVER=$(FULL_VERSION).$(SHAREDLIBSUFFIX)
SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIB_MAJORVERSION).$(SHAREDLIBSUFFIX)
-CURRENT_VERSION := 2.6.0
-COMPATIBILITY_VERSION := 2.6.0
+CURRENT_VERSION := 2.7.0
+COMPATIBILITY_VERSION := 2.7.0
SHLDFLAGS = -dynamiclib -twolevel_namespace -undefined dynamic_lookup \
-fno-common -headerpad_max_install_names -install_name \
$(SHAREDLIB_DIR)/$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXMAJORVER)
diff --git a/codec/api/wels/codec_ver.h b/codec/api/wels/codec_ver.h
index 11a39291..09010a6e 100644
--- a/codec/api/wels/codec_ver.h
+++ b/codec/api/wels/codec_ver.h
@@ -4,12 +4,12 @@
#include "codec_app_def.h"
-static const OpenH264Version g_stCodecVersion = {2, 6, 0, 2502};
-static const char* const g_strCodecVer = "OpenH264 version:2.6.0.2502";
+static const OpenH264Version g_stCodecVersion = {2, 7, 0, 2610};
+static const char* const g_strCodecVer = "OpenH264 version:2.7.0.2610";
#define OPENH264_MAJOR (2)
-#define OPENH264_MINOR (6)
+#define OPENH264_MINOR (7)
#define OPENH264_REVISION (0)
-#define OPENH264_RESERVED (2502)
+#define OPENH264_RESERVED (2610)
#endif // CODEC_VER_H
diff --git a/gmpopenh264.info b/gmpopenh264.info
index 3dabbf3b..c69398d9 100644
--- a/gmpopenh264.info
+++ b/gmpopenh264.info
@@ -1,4 +1,4 @@
Name: gmpopenh264
Description: GMP Plugin for OpenH264.
-Version: 2.6.0
+Version: 2.7.0
APIs: encode-video[h264], decode-video[h264]
diff --git a/meson.build b/meson.build
index 6cb55e3f..0a9f3d0d 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
project('openh264', ['c', 'cpp'],
- version : '2.6.0',
+ version : '2.7.0',
meson_version : '>= 0.52',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
diff --git a/openh264.rc b/openh264.rc
index a36bb527..2876a8a3 100644
--- a/openh264.rc
+++ b/openh264.rc
@@ -24,8 +24,8 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,6,0,2502
- PRODUCTVERSION 2,6,0,2502
+ FILEVERSION 2,7,0,2610
+ PRODUCTVERSION 2,7,0,2610
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -43,12 +43,12 @@ BEGIN
VALUE "Comments", "Cisco OpenH264 codec"
VALUE "CompanyName", "Cisco Systems Inc."
VALUE "FileDescription", "Cisco OpenH264 codec"
- VALUE "FileVersion", "2.6.0.2502"
+ VALUE "FileVersion", "2.7.0.2610"
VALUE "InternalName", "openh264.dll"
+ VALUE "LegalCopyright", "� 2011-2015 Cisco and/or its affiliates. All rights reserved."
VALUE "OriginalFilename", "openh264.dll"
VALUE "ProductName", "Cisco OpenH264 codec"
- VALUE "ProductVersion", "2.6.0.2502"
+ VALUE "ProductVersion", "2.7.0.2610"
END
END
BLOCK "VarFileInfo"