Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ffmpeg-5 for openSUSE:Factory checked in at 2023-04-21 14:15:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffmpeg-5 (Old) and /work/SRC/openSUSE:Factory/.ffmpeg-5.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffmpeg-5" Fri Apr 21 14:15:36 2023 rev:17 rq:1080446 version:5.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ffmpeg-5/ffmpeg-5.changes 2023-03-21 17:40:09.637437851 +0100 +++ /work/SRC/openSUSE:Factory/.ffmpeg-5.new.1533/ffmpeg-5.changes 2023-04-21 14:15:43.698148985 +0200 @@ -1,0 +2,97 @@ +Wed Apr 19 20:09:16 UTC 2023 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 5.1.3: + * avcodec/012v: Order operations for odd size handling + * avcodec/alsdec: + - Check bits left before block decoding in non multi channel + coding loop + - The minimal block is at least 7 bits + * avcodec/atrac3plus: reorder channels to match the output layout + * avcodec/audiotoolboxenc: return AVERROR_EXTERNAL immediately + when encode error + * avcodec/bink: + - Avoid undefined out of array end pointers in + binkb_decode_plane() + - Fix off by 1 error in ref end + * avcodec/eac3dec: avoid float noise in fixed mode addition to + overflow + * avcodec/eatgq: : Check index increments in tgq_decode_block() + * avcodec/escape124: + - Fix signdness of end of input check + - Fix some return codes + * avcodec/ffv1dec: + - Check that num h/v slices is supported + - Fail earlier if prior context is corrupted + * avcodec/ffv1dec: restructure slice coordinate reading a bit + * avcodec/h274: fix include + * avcodec/libjxldec: + - Fix gamma22 and gamma28 recognition + - Avoid hard failure with unspecified primaries + * avcodec/mjpegenc: take into account component count when + writing the SOF header size + * avcodec/mlpdec: Check max matrix instead of max channel in + noise check + * avcodec/motionpixels: Mask pixels to valid values + * avcodec/mpeg12dec: + - Check input size + - Use init_get_bits8 and check the return value + * avcodec/nvenc: fix vbv buffer size in cq mode + * avcodec/pictordec: Remove mid exit branch + * avcodec/pngdec: + - Check deloco index more exactly + - Dont skip/read chunk twice + * avcodec/rpzaenc: stop accessing out of bounds frame + * avcodec/scpr3: Check bx + * avcodec/scpr: Test bx before use + * avcodec/smcenc: stop accessing out of bounds frame + * avcodec/snowenc: Fix visual weight calculation + * avcodec/speedhq: Check buf_size to be big enough for DC + * avcodec/speexdec: Check channels > 2 + * avcodec/sunrast: Fix maplength check + * avcodec/tests/snowenc: + - Fix 2nd test + - Return a failure if DWT/IDWT mismatches + - Unbreak DWT tests + * avcodec/tiff: Ignore tile_count + * avcodec/utils: + - Allocate a line more for VC1 and WMV3 + - Ensure linesize for SVQ3 + - Use 32pixel alignment for bink + * avcodec/videodsp_template: Adjust pointers to avoid undefined + pointer things + * avcodec/wavpack: + - Avoid undefined shift in get_tail() + - Check for end of input in wv_unpack_dsd_high() + * avcodec/xpmdec: Check size before allocation to avoid + truncation + * avcodec/aacdec: fix parsing streams with channel configuration + 11 + * avformat/id3v2: Check taglen in read_uslt() + * avformat/mov: Check samplesize and offset to avoid integer + overflow + * avformat/mxfdec: Use 64bit in remainder + * avformat/replaygain: avoid undefined / negative abs + * avformat/vividas: Check packet size + * avutil/tx: Use unsigned in ff_tx_fft_sr_combine() to avoid + undefined behavior + * hwcontext_vulkan: remove optional encode/decode extensions from + the list + * lavf/async: Fix ring_write return value + * lavu/vulkan: fix handle type for 32-bit targets + * libswscale: force a minimum size of the slide for bayer sources + * swscale/input: Use more unsigned intermediates + * swscale/output: + - Bias 16bps output calculations to improve non overflowing + range + - Bias 16bps output calculations to improve non overflowing + range for GBRP16/GBRPF32 + * swscale: aarch64: Fix yuv2rgb with negative strides + * Use https for repository links + * vulkan: Fix win/i386 calling convention +- Rebase patches with quilt. +- Drop ffmpeg-CVE-2022-3964.patch: Fixed upstream. +- Drop no-vk-video-decoding.patch: Upstream removed this optional + code. +- Use ldconfig_scriptlets macro. + +------------------------------------------------------------------- Old: ---- ffmpeg-5.1.2.tar.xz ffmpeg-5.1.2.tar.xz.asc ffmpeg-CVE-2022-3964.patch no-vk-video-decoding.patch New: ---- ffmpeg-5.1.3.tar.xz ffmpeg-5.1.3.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffmpeg-5.spec ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:44.726154749 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:44.730154772 +0200 @@ -80,7 +80,7 @@ %define _major_expected 6 Name: ffmpeg-5 -Version: 5.1.2 +Version: 5.1.3 Release: 0 Summary: Set of libraries for working with various multimedia formats License: GPL-3.0-or-later @@ -106,9 +106,7 @@ Patch5: work-around-abi-break.patch Patch9: ffmpeg-4.4-CVE-2020-22046.patch Patch10: ffmpeg-chromium.patch -Patch11: ffmpeg-CVE-2022-3964.patch Patch91: ffmpeg-dlopen-openh264.patch -Patch92: no-vk-video-decoding.patch Patch93: soname.diff %if %{with amf_sdk} @@ -711,22 +709,14 @@ cp -a $i "$b/%_includedir/ffmpeg/private/$i" done -%post -n libavcodec59 -p /sbin/ldconfig -%postun -n libavcodec59 -p /sbin/ldconfig -%post -n libavdevice59 -p /sbin/ldconfig -%postun -n libavdevice59 -p /sbin/ldconfig -%post -n libavfilter8 -p /sbin/ldconfig -%postun -n libavfilter8 -p /sbin/ldconfig -%post -n libavformat59 -p /sbin/ldconfig -%postun -n libavformat59 -p /sbin/ldconfig -%post -n libavutil57 -p /sbin/ldconfig -%postun -n libavutil57 -p /sbin/ldconfig -%post -n libpostproc56 -p /sbin/ldconfig -%postun -n libpostproc56 -p /sbin/ldconfig -%post -n libswresample4_ff5 -p /sbin/ldconfig -%postun -n libswresample4_ff5 -p /sbin/ldconfig -%post -n libswscale6 -p /sbin/ldconfig -%postun -n libswscale6 -p /sbin/ldconfig +%ldconfig_scriptlets -n libavcodec59 +%ldconfig_scriptlets -n libavdevice59 +%ldconfig_scriptlets -n libavfilter8 +%ldconfig_scriptlets -n libavformat59 +%ldconfig_scriptlets -n libavutil57 +%ldconfig_scriptlets -n libpostproc56 +%ldconfig_scriptlets -n libswresample4_ff5 +%ldconfig_scriptlets -n libswscale6 %files %doc Changelog CREDITS README.md @@ -829,7 +819,7 @@ %define _name ffmpeg Name: ffmpeg-5-mini -Version: 5.1.2 +Version: 5.1.3 Release: 0 Summary: Set of libraries for working with various multimedia formats License: GPL-3.0-or-later @@ -846,9 +836,7 @@ Patch5: work-around-abi-break.patch Patch9: ffmpeg-4.4-CVE-2020-22046.patch Patch10: ffmpeg-chromium.patch -Patch11: ffmpeg-CVE-2022-3964.patch Patch91: ffmpeg-dlopen-openh264.patch -Patch92: no-vk-video-decoding.patch Patch93: soname.diff BuildRequires: c_compiler Requires: this-is-only-for-build-envs @@ -930,8 +918,7 @@ %make_install rm -Rf "$b/%_datadir/ffmpeg/examples" -%post libs -p /sbin/ldconfig -%postun libs -p /sbin/ldconfig +%ldconfig_scriptlets libs %files libs %_libdir/libavcodec.so.* ++++++ ffmpeg-4.4-CVE-2020-22046.patch ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:44.858155489 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:44.862155512 +0200 @@ -10,11 +10,11 @@ libavcodec/ac3enc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -Index: ffmpeg-4.4.1/libavcodec/ac3enc.c +Index: ffmpeg-5.1.3/libavcodec/ac3enc.c =================================================================== ---- ffmpeg-4.4.1.orig/libavcodec/ac3enc.c -+++ ffmpeg-4.4.1/libavcodec/ac3enc.c -@@ -2148,7 +2148,8 @@ av_cold int ff_ac3_encode_close(AVCodecC +--- ffmpeg-5.1.3.orig/libavcodec/ac3enc.c ++++ ffmpeg-5.1.3/libavcodec/ac3enc.c +@@ -2204,7 +2204,8 @@ av_cold int ff_ac3_encode_close(AVCodecC av_freep(&block->cpl_coord_mant); } ++++++ ffmpeg-5.1.2.tar.xz -> ffmpeg-5.1.3.tar.xz ++++++ /work/SRC/openSUSE:Factory/ffmpeg-5/ffmpeg-5.1.2.tar.xz /work/SRC/openSUSE:Factory/.ffmpeg-5.new.1533/ffmpeg-5.1.3.tar.xz differ: char 27, line 1 ++++++ ffmpeg-chromium.patch ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:44.954156028 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:44.958156050 +0200 @@ -11,10 +11,10 @@ libavformat/utils.c | 7 +++++++ 2 files changed, 11 insertions(+) -Index: ffmpeg-5.1/libavformat/avformat.h +Index: ffmpeg-5.1.3/libavformat/avformat.h =================================================================== ---- ffmpeg-5.1.orig/libavformat/avformat.h -+++ ffmpeg-5.1/libavformat/avformat.h +--- ffmpeg-5.1.3.orig/libavformat/avformat.h ++++ ffmpeg-5.1.3/libavformat/avformat.h @@ -1128,6 +1128,10 @@ struct AVCodecParserContext *av_stream_g */ int64_t av_stream_get_end_pts(const AVStream *st); @@ -26,11 +26,11 @@ #define AV_PROGRAM_RUNNING 1 /** -Index: ffmpeg-5.1/libavformat/utils.c +Index: ffmpeg-5.1.3/libavformat/utils.c =================================================================== ---- ffmpeg-5.1.orig/libavformat/utils.c -+++ ffmpeg-5.1/libavformat/utils.c -@@ -121,6 +121,13 @@ +--- ffmpeg-5.1.3.orig/libavformat/utils.c ++++ ffmpeg-5.1.3/libavformat/utils.c +@@ -55,6 +55,13 @@ int ff_unlock_avformat(void) return ff_mutex_unlock(&avformat_mutex) ? -1 : 0; } ++++++ ffmpeg-codec-choice.diff ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:44.974156140 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:44.978156162 +0200 @@ -11,11 +11,11 @@ libavformat/matroskaenc.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) -Index: ffmpeg-5.0/libavformat/matroskaenc.c +Index: ffmpeg-5.1.3/libavformat/matroskaenc.c =================================================================== ---- ffmpeg-5.0.orig/libavformat/matroskaenc.c -+++ ffmpeg-5.0/libavformat/matroskaenc.c -@@ -2887,16 +2887,25 @@ static int mkv_query_codec(enum AVCodecI +--- ffmpeg-5.1.3.orig/libavformat/matroskaenc.c ++++ ffmpeg-5.1.3/libavformat/matroskaenc.c +@@ -3316,16 +3316,25 @@ static int mkv_query_codec(enum AVCodecI return 0; } @@ -45,7 +45,7 @@ .init = mkv_init, .deinit = mkv_deinit, .write_header = mkv_write_header, -@@ -2954,8 +2963,7 @@ const AVOutputFormat ff_matroska_audio_m +@@ -3383,8 +3392,7 @@ const AVOutputFormat ff_matroska_audio_m .mime_type = "audio/x-matroska", .extensions = "mka", .priv_data_size = sizeof(MatroskaMuxContext), ++++++ ffmpeg-dlopen-openh264.patch ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:45.002156297 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:45.002156297 +0200 @@ -23,11 +23,11 @@ create mode 100644 libavcodec/libopenh264_dlopen.c create mode 100644 libavcodec/libopenh264_dlopen.h -diff --git a/configure b/configure -index ba5793b2ff..8855c1a908 100755 ---- a/configure -+++ b/configure -@@ -251,6 +251,7 @@ External library support: +Index: ffmpeg-5.1.3/configure +=================================================================== +--- ffmpeg-5.1.3.orig/configure ++++ ffmpeg-5.1.3/configure +@@ -252,6 +252,7 @@ External library support: --enable-libopencore-amrwb enable AMR-WB decoding via libopencore-amrwb [no] --enable-libopencv enable video filtering via libopencv [no] --enable-libopenh264 enable H.264 encoding via OpenH264 [no] @@ -35,7 +35,7 @@ --enable-libopenjpeg enable JPEG 2000 de/encoding via OpenJPEG [no] --enable-libopenmpt enable decoding tracked files via libopenmpt [no] --enable-libopenvino enable OpenVINO as a DNN module backend -@@ -1844,6 +1845,7 @@ EXTERNAL_LIBRARY_LIST=" +@@ -1846,6 +1847,7 @@ EXTERNAL_LIBRARY_LIST=" libmysofa libopencv libopenh264 @@ -43,7 +43,7 @@ libopenjpeg libopenmpt libopenvino -@@ -6596,6 +6598,7 @@ enabled libopencv && { check_headers opencv2/core/core_c.h && +@@ -6599,6 +6601,7 @@ enabled libopencv && { check_hea require libopencv opencv2/core/core_c.h cvCreateImageHeader -lopencv_core -lopencv_imgproc; } || require_pkg_config libopencv opencv opencv/cxcore.h cvCreateImageHeader; } enabled libopenh264 && require_pkg_config libopenh264 openh264 wels/codec_api.h WelsGetCodecVersion @@ -51,11 +51,11 @@ enabled libopenjpeg && { check_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version || { require_pkg_config libopenjpeg "libopenjp2 >= 2.1.0" openjpeg.h opj_version -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } } enabled libopenmpt && require_pkg_config libopenmpt "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h openmpt_module_create -lstdc++ && append libopenmpt_extralibs "-lstdc++" -diff --git a/libavcodec/Makefile b/libavcodec/Makefile -index 457ec58377..08a26fba5f 100644 ---- a/libavcodec/Makefile -+++ b/libavcodec/Makefile -@@ -1075,6 +1075,7 @@ OBJS-$(CONFIG_LIBMP3LAME_ENCODER) += libmp3lame.o +Index: ffmpeg-5.1.3/libavcodec/Makefile +=================================================================== +--- ffmpeg-5.1.3.orig/libavcodec/Makefile ++++ ffmpeg-5.1.3/libavcodec/Makefile +@@ -1075,6 +1075,7 @@ OBJS-$(CONFIG_LIBMP3LAME_ENCODER) OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER) += libopencore-amr.o OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER) += libopencore-amr.o OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER) += libopencore-amr.o @@ -63,10 +63,10 @@ OBJS-$(CONFIG_LIBOPENH264_DECODER) += libopenh264dec.o libopenh264.o OBJS-$(CONFIG_LIBOPENH264_ENCODER) += libopenh264enc.o libopenh264.o OBJS-$(CONFIG_LIBOPENJPEG_DECODER) += libopenjpegdec.o -diff --git a/libavcodec/libopenh264.c b/libavcodec/libopenh264.c -index 0f6d28ed88..a124c3fa1e 100644 ---- a/libavcodec/libopenh264.c -+++ b/libavcodec/libopenh264.c +Index: ffmpeg-5.1.3/libavcodec/libopenh264.c +=================================================================== +--- ffmpeg-5.1.3.orig/libavcodec/libopenh264.c ++++ ffmpeg-5.1.3/libavcodec/libopenh264.c @@ -20,8 +20,13 @@ */ @@ -81,7 +81,7 @@ #include "libavutil/error.h" #include "libavutil/log.h" -@@ -52,8 +57,17 @@ int ff_libopenh264_check_version(void *logctx) +@@ -52,8 +57,17 @@ int ff_libopenh264_check_version(void *l // Mingw GCC < 4.7 on x86_32 uses an incorrect/buggy ABI for the WelsGetCodecVersion // function (for functions returning larger structs), thus skip the check in those // configurations. @@ -101,11 +101,10 @@ if (memcmp(&libver, &g_stCodecVersion, sizeof(libver))) { av_log(logctx, AV_LOG_ERROR, "Incorrect library version loaded\n"); return AVERROR(EINVAL); -diff --git a/libavcodec/libopenh264_dlopen.c b/libavcodec/libopenh264_dlopen.c -new file mode 100644 -index 0000000000..49ea8ff44f +Index: ffmpeg-5.1.3/libavcodec/libopenh264_dlopen.c +=================================================================== --- /dev/null -+++ b/libavcodec/libopenh264_dlopen.c ++++ ffmpeg-5.1.3/libavcodec/libopenh264_dlopen.c @@ -0,0 +1,147 @@ +/* + * OpenH264 dlopen code @@ -254,11 +253,10 @@ + + return 0; +} -diff --git a/libavcodec/libopenh264_dlopen.h b/libavcodec/libopenh264_dlopen.h -new file mode 100644 -index 0000000000..d7d8bb7cad +Index: ffmpeg-5.1.3/libavcodec/libopenh264_dlopen.h +=================================================================== --- /dev/null -+++ b/libavcodec/libopenh264_dlopen.h ++++ ffmpeg-5.1.3/libavcodec/libopenh264_dlopen.h @@ -0,0 +1,58 @@ +/* + * OpenH264 dlopen code @@ -318,10 +316,10 @@ +#endif /* CONFIG_LIBOPENH264_DLOPEN */ + +#endif /* HAVE_LIBOPENH264_DLOPEN_H */ -diff --git a/libavcodec/libopenh264dec.c b/libavcodec/libopenh264dec.c -index 007f86b619..57aa3bc1d1 100644 ---- a/libavcodec/libopenh264dec.c -+++ b/libavcodec/libopenh264dec.c +Index: ffmpeg-5.1.3/libavcodec/libopenh264dec.c +=================================================================== +--- ffmpeg-5.1.3.orig/libavcodec/libopenh264dec.c ++++ ffmpeg-5.1.3/libavcodec/libopenh264dec.c @@ -19,8 +19,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ @@ -335,7 +333,7 @@ #include "libavutil/common.h" #include "libavutil/fifo.h" -@@ -56,6 +60,12 @@ static av_cold int svc_decode_init(AVCodecContext *avctx) +@@ -56,6 +60,12 @@ static av_cold int svc_decode_init(AVCod int log_level; WelsTraceCallback callback_function; @@ -348,10 +346,10 @@ if ((err = ff_libopenh264_check_version(avctx)) < 0) return AVERROR_DECODER_NOT_FOUND; -diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c -index db252aace1..75289678da 100644 ---- a/libavcodec/libopenh264enc.c -+++ b/libavcodec/libopenh264enc.c +Index: ffmpeg-5.1.3/libavcodec/libopenh264enc.c +=================================================================== +--- ffmpeg-5.1.3.orig/libavcodec/libopenh264enc.c ++++ ffmpeg-5.1.3/libavcodec/libopenh264enc.c @@ -19,8 +19,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ @@ -365,7 +363,7 @@ #include "libavutil/attributes.h" #include "libavutil/common.h" -@@ -137,6 +141,12 @@ static av_cold int svc_encode_init(AVCodecContext *avctx) +@@ -137,6 +141,12 @@ static av_cold int svc_encode_init(AVCod WelsTraceCallback callback_function; AVCPBProperties *props; @@ -378,7 +376,4 @@ if ((err = ff_libopenh264_check_version(avctx)) < 0) return AVERROR_ENCODER_NOT_FOUND; --- -2.36.1 - ++++++ ffmpeg-new-coder-errors.diff ++++++ --- /var/tmp/diff_new_pack.gLeIB6/_old 2023-04-21 14:15:45.018156386 +0200 +++ /var/tmp/diff_new_pack.gLeIB6/_new 2023-04-21 14:15:45.034156476 +0200 @@ -10,11 +10,11 @@ fftools/ffmpeg_opt.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) -Index: ffmpeg-4.4.1/fftools/ffmpeg.c +Index: ffmpeg-5.1.3/fftools/ffmpeg.c =================================================================== ---- ffmpeg-4.4.1.orig/fftools/ffmpeg.c -+++ ffmpeg-4.4.1/fftools/ffmpeg.c -@@ -2954,7 +2954,7 @@ static int init_input_stream(int ist_ind +--- ffmpeg-5.1.3.orig/fftools/ffmpeg.c ++++ ffmpeg-5.1.3/fftools/ffmpeg.c +@@ -2606,7 +2606,7 @@ static int init_input_stream(int ist_ind if (ist->decoding_needed) { const AVCodec *codec = ist->dec; if (!codec) { @@ -23,11 +23,11 @@ avcodec_get_name(ist->dec_ctx->codec_id), ist->file_index, ist->st->index); return AVERROR(EINVAL); } -Index: ffmpeg-4.4.1/fftools/ffmpeg_filter.c +Index: ffmpeg-5.1.3/fftools/ffmpeg_filter.c =================================================================== ---- ffmpeg-4.4.1.orig/fftools/ffmpeg_filter.c -+++ ffmpeg-4.4.1/fftools/ffmpeg_filter.c -@@ -959,7 +959,7 @@ static int configure_input_filter(Filter +--- ffmpeg-5.1.3.orig/fftools/ffmpeg_filter.c ++++ ffmpeg-5.1.3/fftools/ffmpeg_filter.c +@@ -945,7 +945,7 @@ static int configure_input_filter(Filter { if (!ifilter->ist->dec) { av_log(NULL, AV_LOG_ERROR, @@ -36,7 +36,7 @@ ifilter->ist->file_index, ifilter->ist->st->index); return AVERROR_DECODER_NOT_FOUND; } -@@ -1103,7 +1103,7 @@ int configure_filtergraph(FilterGraph *f +@@ -1117,7 +1117,7 @@ int configure_filtergraph(FilterGraph *f if (!ost->enc) { /* identical to the same check in ffmpeg.c, needed because complex filter graphs are initialized earlier */ @@ -45,11 +45,11 @@ avcodec_get_name(ost->st->codecpar->codec_id), ost->file_index, ost->index); ret = AVERROR(EINVAL); goto fail; -Index: ffmpeg-4.4.1/fftools/ffmpeg_opt.c +Index: ffmpeg-5.1.3/fftools/ffmpeg_opt.c =================================================================== ---- ffmpeg-4.4.1.orig/fftools/ffmpeg_opt.c -+++ ffmpeg-4.4.1/fftools/ffmpeg_opt.c -@@ -1400,7 +1400,7 @@ static int choose_encoder(OptionsContext +--- ffmpeg-5.1.3.orig/fftools/ffmpeg_opt.c ++++ ffmpeg-5.1.3/fftools/ffmpeg_opt.c +@@ -1497,7 +1497,7 @@ static int choose_encoder(OptionsContext if (!ost->enc) { av_log(NULL, AV_LOG_FATAL, "Automatic encoder selection failed for " "output stream #%d:%d. Default encoder for format %s (codec %s) is "