[vlc-commits] [Git][videolan/vlc][master] 2 commits: vpx: fix potential format string type

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 7 14:37:43 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
921b3609 by Steve Lhomme at 2024-11-07T13:00:42+00:00
vpx: fix potential format string type

The type changed in libvpx 1.15.0.

- - - - -
937dc12a by Steve Lhomme at 2024-11-07T13:00:42+00:00
contrib: vpx: update to 1.15.0

This release includes new codec control for key frame filtering, more Neon
optimizations, improvements to RTC encoding and bug fixes.
  - Upgrading:
    This release is ABI compatible with the previous release.
    Temporal filtering improvement that can be turned on with the new codec
    control VP9E_SET_KEY_FRAME_FILTERING, which gives 1+% BD-rate saving with
    minimal encoder time increase.
    libwebm is upgraded to libwebm-1.0.0.31-10-g3b63004
  - Enhancement:
    Neon optimization speed up
    Scene detection is allowed for all RTC speeds (>=5)
    Support profile guided optimizations
    Delta quantization parameters for UV channels for vp8 is supported in RTC
    rate control library
    Rate control parameters are reset and maximum QP is enforced on scene
    changes in SVC when there is no inter-layer prediction
  - Bug fixes:
    Fix to Uninitialized scalar variable in `vp9_rd_pick_inter_mode_sb()`
    Fix to Integer-overflow in `resize_multistep`
    Fix to Heap-buffer-overflow in `vpx_sad64x64_avx2`
    Fix to Crash in `vpx_sad8x8_sse2`
    Fix to Assertion in `write_modes`
    Support profile guided optimizations
    Fix to Integer-overflow in `encode_frame_to_data_rate`
    Fix to Integer-overflow in `vp9_svc_check_reset_layer_rc_flag`
    Fix to core dump error from /usr/bin/tools/tiny_ssim --help
    Fix to use-of-uninitialized-value in `vp9_setup_tpl_stats`
    Fix to Undefined-shift in `vp9_cyclic_refresh_setup`
    Fix to redundant `&& __GNUC__` preproc check
    Fix to valgrind warning in EncodeAPI.OssFuzz69906
    Fix to Index-out-of-bounds in `vp8_rd_pick_inter_mode`
    Fix to Integer-overflow in `vp8_pick_frame_size`
    Fix to Use-of-uninitialized-value in `vpx_codec_peek_stream_info`
    Fix to log clutters with the message "Warning: Desired height too large"
    Fix to Integer-overflow in `vp9_svc_adjust_avg_frame_qindex`
    Fix to integer overflows caused by huge target bitrate, frame rate, or
    g_timebase numerator or denominator
    Fix to missing license headers
    Fix to build failure for Android Armv7
    Fix to integer overflows in image helpers
    Fix to Integer-overflow in `vp9_calc_iframe_target_size_one_pass_cbr`
    Fix to Heap-buffer-overflow in `vp9_pick_inter_mode`
    Fix to Segv in `vp9_multi_thread_tile_init`
    Fix to Use-of-uninitialized-value in `vp9_row_mt_sync_mem_dealloc`
    Fix to Crash in `mbloop_filter_vertical_edge_c`
    Fix to Check failed in CheckUnwind
    Fix to Heap-buffer-overflow in `write_modes_b` and `vpx_write`
    Fix to Possible signed integer overflow found in `vpx_codec_encode`
    Fix to build conflicts between Abseil and libaom/libvpx in Win ARM64 builds
    Fix to build failures on aarch64
    Fix to Data race in libvpx ARM NEON
    Fix to Heap-buffer-overflow in `scale_plane_1_to_2_phase_0`
    Fix to integer overflow in `encode_mb_row`
    Fix to Floating-point-exception in `vp8_pick_frame_size`
    Fix to Heap-buffer-overflow in `vp9_enc_setup_mi`
    Fix to build failure with --target=arm64-win64-vs17
    Fix to heap-buffer-overflow write in `vpx_img_read()`
    Fix to C vs armv8-linux-gcc encode mismatches for `y4m_360p_10bit_input`
    Fix to Null-dereference READ in `ml_predict_var_rd_partitioning`
    Fix to Heap-buffer-overflow in `vpx_scaled_2d_ssse3`
    Fix to Crash in `convolve_horiz`
    Fix to Ill in `vpx_scaled_2d_ssse3`
    Fix to Global-buffer-overflow in `cost_coeffs`

- - - - -


3 changed files:

- contrib/src/vpx/SHA512SUMS
- contrib/src/vpx/rules.mak
- modules/codec/vpx.c


Changes:

=====================================
contrib/src/vpx/SHA512SUMS
=====================================
@@ -1 +1 @@
-3e3bfad3d035c0bc3db7cb5a194d56d3c90f5963fb1ad527ae5252054e7c48ce2973de1346c97d94b59f7a95d4801bec44214cce10faf123f92b36fca79a8d1e  libvpx-1.14.1.tar.gz
+8f483653a324c710fd431b87fd0d5d6f476f006bd8c8e9c6d1fa6abd105d6a40ac81c8fd5638b431c455d57ab2ee823c165e9875eb3932e6e518477422da3a7b  libvpx-1.15.0.tar.gz


=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -1,6 +1,6 @@
 # libvpx
 
-VPX_VERSION := 1.14.1
+VPX_VERSION := 1.15.0
 VPX_URL := $(GITHUB)/webmproject/libvpx/archive/v${VPX_VERSION}.tar.gz
 
 ifneq ($(filter arm aarch64 i386 loongarch64 mipsel mips64el ppc64le x86_64, $(ARCH)),)


=====================================
modules/codec/vpx.c
=====================================
@@ -465,7 +465,7 @@ static int OpenEncoder(vlc_object_t *p_this)
             p_sys->quality = quality;
             break;
         default:
-            msg_Warn(p_this, "Unexpected quality %lu, forcing %d", quality, VPX_DL_BEST_QUALITY);
+            msg_Warn(p_this, "Unexpected quality %lu, forcing %lu", quality, (unsigned long)VPX_DL_BEST_QUALITY);
             p_sys->quality = VPX_DL_BEST_QUALITY;
             break;
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/112d5c78615a507373bc649f2fed432c91f717e4...937dc12adac21f4d98025bf01b45b7fcf771fdbd

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/112d5c78615a507373bc649f2fed432c91f717e4...937dc12adac21f4d98025bf01b45b7fcf771fdbd
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list