Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmlt for openSUSE:Factory checked in at 2022-06-25 10:24:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmlt (Old) and /work/SRC/openSUSE:Factory/.libmlt.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmlt" Sat Jun 25 10:24:06 2022 rev:61 rq:984851 version:7.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmlt/libmlt.changes 2022-06-20 15:39:25.395047957 +0200 +++ /work/SRC/openSUSE:Factory/.libmlt.new.1548/libmlt.changes 2022-06-25 10:24:14.890672551 +0200 @@ -1,0 +2,34 @@ +Thu Jun 23 15:20:03 UTC 2022 - Hans-Peter Jansen <h...@urpla.net> + +- Update to 7.8.0 + + Framework + * Added mlt_frame_get_alpha_size() and refactored code to use + it. + * Fixed a possible null pointer crash in + mlt_service_apply_filters(). + + Modules + * Added a glaxnimate producer to the glaxnimate module. + * Added new file extensions for glaxnimate producer: json, + lottie, rawr, tgs. + * Removed Qt4 compatibility from the qt module. + * Added Qt6 compatibility to the qt module. + * Added new file extensions for qimage producer: avif, heic, + heif, jxl. + * Fixed color_range when using the multi consumer. + * Fixed reloading updated results in the loudness filter. + * Fixed image_mode=blend in the timeremap link. + * Fixed crash regression in swscale filter with odd size YUV + image. + * Fixed the choppy filter may result in black frames with + transitions. + * Prevent a crash in avfilter producer for a bug in glibc with + _FORTIFY_SOURCE=3. + +- Remove merged upstream fixes + * 0001-fix-798-missing-function-returns.patch + * 0001-Supply-a-proper-return-value-on-non-void-functions.patch + +- Add + * 0001-Another-take-on-fixing-the-wcrtomb-issue.patch + +------------------------------------------------------------------- Old: ---- 0001-Supply-a-proper-return-value-on-non-void-functions.patch 0001-fix-798-missing-function-returns.patch mlt-7.6.0.tar.gz New: ---- 0001-Another-take-on-fixing-the-wcrtomb-issue.patch mlt-7.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmlt.spec ++++++ --- /var/tmp/diff_new_pack.NP7jyw/_old 2022-06-25 10:24:15.510673436 +0200 +++ /var/tmp/diff_new_pack.NP7jyw/_new 2022-06-25 10:24:15.514673442 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libmlt +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -18,25 +18,23 @@ %define _name mlt %define libname lib%{_name} -%define lversion 7.6.0 +%define lversion 7.8.0 %define sover 7 %define lib_pkgname %{libname}-%{sover}-%{sover} %define _name_pp %{_name}++ %define libname_pp lib%{_name_pp} %define sover_pp 7 -%define lversion_pp 7.6.0 +%define lversion_pp 7.8.0 %define libpp_pkgname %{libname_pp}-%{sover_pp}-%{sover_pp} Name: %{libname} -Version: 7.6.0 +Version: 7.8.0 Release: 0 Summary: Multimedia framework for television broadcasting License: GPL-3.0-or-later Group: Development/Libraries/C and C++ URL: https://www.mltframework.org Source0: https://github.com/mltframework/mlt/archive/v%{version}.tar.gz#/%{_name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM -- Missing return values in non-void functions -Patch0: 0001-fix-798-missing-function-returns.patch -Patch1: 0001-Supply-a-proper-return-value-on-non-void-functions.patch +Patch0: 0001-Another-take-on-fixing-the-wcrtomb-issue.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ 0001-Another-take-on-fixing-the-wcrtomb-issue.patch ++++++ >From 19b80f67f2700f6e32b59e5c9a68c2227fee301a Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen <h...@urpla.net> Date: Thu, 23 Jun 2022 17:06:50 +0200 Subject: [PATCH] Another take on fixing the wcrtomb issue that boils down to a problem in glibc: https://github.com/bminor/glibc/commit/9bcd12d223a8990254b65e2dada54faa5d2742f3 that appears, if sources are compiled with _FORTIFY_SOURCE=3, which is standard by a few distributions already. Make sure, a pointer, given to wcrtomb as first argument always has at least MB_CUR_MAX bytes available. --- src/modules/avformat/producer_avformat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/avformat/producer_avformat.c b/src/modules/avformat/producer_avformat.c index 6ec1ac63..0e4600f2 100644 --- a/src/modules/avformat/producer_avformat.c +++ b/src/modules/avformat/producer_avformat.c @@ -334,7 +334,8 @@ static char* filter_restricted( const char *in ) { if ( !in ) return NULL; size_t n = strlen( in ); - char *out = calloc( 1, n*3 + 1 ); + // https://github.com/bminor/glibc/commit/9bcd12d223a8990254b65e2dada54faa5d2742f3 + char *out = calloc( n + MB_CUR_MAX, 1 ); char *p = out; mbstate_t mbs; memset( &mbs, 0, sizeof(mbs) ); -- 2.36.1 ++++++ mlt-7.6.0.tar.gz -> mlt-7.8.0.tar.gz ++++++ ++++ 2379 lines of diff (skipped)