SHA256
1
0
forked from jengelh/ffmpeg-4
Commit Graph

129 Commits

Author SHA256 Message Date
ea292cebc3 Disable xvid plugin build and dependence
Since legal reviewers are concerned xvid patents have not expired
in Brazil, which should not be used in a commercial context.
https://en.wikipedia.org/wiki/Xvid
2024-09-29 16:13:36 +08:00
79e46abe56 Add ffmpeg-4-CVE-2024-7055.patch:
Backporting 3faadbe2 from upstream, Use 64bit for input size check,
Fixes: out of array read, Fixes: poc3.
(CVE-2024-7055, bsc#1229026)
2024-09-14 19:44:59 +08:00
9e43e5445b Add 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch (armv7 build fix) 2024-08-28 13:02:14 +02:00
3208345200 Add ffmpeg-4-CVE-2024-32230.patch to fix CVE issue. 2024-07-31 02:17:22 +08:00
Filip Kastl
4cf3cb81cc Add ffmpeg-c99.patch
- Add ffmpeg-c99.patch so that the package conforms to the C99
  standard and builds on i586 with GCC 14.
2024-07-26 15:20:13 +02:00
add6ccba5b Accepting request 1172424 from home:qzhao:branches:multimedia:libs
Add ffmpeg-CVE-2023-50010.patch to fix CVE bugs.

OBS-URL: https://build.opensuse.org/request/show/1172424
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=219
2024-05-07 14:51:29 +00:00
185fe268b6 - Add 0001-avfilter-af_stereowiden-Check-length.patch [boo#1223437, CVE-2023-51794]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=217
2024-04-26 22:17:19 +00:00
c72074a6f9 Accepting request 1170205 from home:qzhao:branches:multimedia:libs
Add ffmpeg-CVE-2023-49502.patch ffmpeg-CVE-2023-51793.patch to fix CVE bugs.

OBS-URL: https://build.opensuse.org/request/show/1170205
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=213
2024-04-25 21:43:06 +00:00
6e1ca12e6b - Address boo#1223304/CVE-2023-51798: add patch
0001-avfilter-vf_minterpolate-Check-pts-before-division.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=211
2024-04-23 14:33:01 +00:00
75c35352f2 - address 1 bugzilla issue/CVE
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=209
2024-04-22 13:46:30 +00:00
8b0dcfa2c7 Accepting request 1143610 from home:sndirsch:droplibmfx
- drop support for libmfx, which is no longer supported upstream
  at all (boo#1219494)

OBS-URL: https://build.opensuse.org/request/show/1143610
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=207
2024-02-02 14:51:50 +00:00
7b4240420b - Disable vmaf integration as ffmpeg-4 cannot handle vmaf>=3
- Delete vmaf-trim-usr-local.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=205
2023-12-27 12:21:55 +00:00
cd1234d177 - Update ffmpeg-glslang-cxx17.patch to build with glslang 14
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=204
2023-12-26 13:36:56 +00:00
e25ebfd1ae - Copy codec list from ffmpeg-6
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=202
2023-12-06 09:25:08 +00:00
f5d866b756 - Add ffmpeg-glslang-cxx17.patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=200
2023-10-30 11:17:44 +00:00
2d71342eca - Add 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch
to resolve build failure with binutils >= 2.41. [boo#1215945]

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=199
2023-10-04 15:27:11 +00:00
ef306a702f - Add 0001-avcodec-libsvtav1-remove-compressed_ten_bit_format-a.patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=197
2023-06-27 07:46:10 +00:00
e77fa35c44 Accepting request 1080436 from home:iznogood:branches:multimedia:libs
- Update to version 4.4.4:
  * avcodec/012v: Order operations for odd size handling
  * avcodec/alsdec: The minimal block is at least 7 bits
  * 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
    - Restructure slice coordinate reading a bit
  * 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
  * avcodec/nvenc:
    - Fix b-frame DTS behavior with fractional framerates
    - Fix vbv buffer size in cq mode
  * avcodec/pictordec: Remove mid exit branch
  * avcodec/pngdec: Check deloco index more exactly
  * avcodec/rpzaenc: stop accessing out of bounds frame
  * avcodec/scpr3: Check bx
  * avcodec/scpr: Test bx before use
  * avcodec/snowenc: Fix visual weight calculation
  * avcodec/speedhq: Check buf_size to be big enough for DC
  * 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/vp3: Add missing check for av_malloc
  * 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
  * avfilter/vf_untile: swap the chroma shift values used for plane
    offsets
  * avformat/id3v2: Check taglen in read_uslt()
  * avformat/mov: Check samplesize and offset to avoid integer
    overflow
  * avformat/mxfdec: Use 64bit in remainder
  * avformat/nutdec: Add check for avformat_new_stream
  * avformat/replaygain: avoid undefined / negative abs
  * swscale/input: Use more unsigned intermediates
  * swscale/output: Bias 16bps output calculations to improve non
    overflowing range
  * swscale: aarch64: Fix yuv2rgb with negative stride
  * Use https for repository links
- Drop patches fixed upstream:
  * ffmpeg-CVE-2022-3964.patch
  * ffmpeg-CVE-2022-3109.patch
  * ffmpeg-CVE-2022-3341.patch
- Use ldconfig_scriptlets macro.

OBS-URL: https://build.opensuse.org/request/show/1080436
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=195
2023-04-19 22:09:03 +00:00
90b8effb5d - Conflict with otherproviders(ffmpeg-tools).
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=194
2023-03-16 17:55:19 +00:00
eb61ca7811 Accepting request 1059895 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2022-3341.patch: Backport from upstream to fix
  null pointer dereference in decode_main_header() in
  libavformat/nutdec.c (bsc#1206778).

OBS-URL: https://build.opensuse.org/request/show/1059895
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=192
2023-01-22 15:23:18 +00:00
10330b2059 Accepting request 1044384 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2022-3109.patch: Backport from upstream to fix
  null pointer dereference in vp3_decode_frame() (bsc#1206442).

OBS-URL: https://build.opensuse.org/request/show/1044384
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=190
2022-12-23 10:14:13 +00:00
fcff620a44 Accepting request 1035935 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2022-3964.patch: Backport from upstream to fix
  out of bounds read in update_block_in_prev_frame() (bsc#1205388).

OBS-URL: https://build.opensuse.org/request/show/1035935
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=188
2022-11-16 11:55:32 +00:00
037338de44 Accepting request 1009347 from home:iznogood:branches:multimedia:libs
- Update to version 4.4.3:
  * Stable bug fix release, mainly codecs, filter and format fixes.
- Drop ffmpeg-sdl2-detection.patch: Fixed upstream.
- Refresh patches with quilt:
  * ffmpeg-libglslang-detection.patch
  * ffmpeg-4.2-dlopen-fdk_aac.patch

OBS-URL: https://build.opensuse.org/request/show/1009347
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=186
2022-10-10 17:13:28 +00:00
f1f8e75c79 Accepting request 999763 from home:cgiboudeaux:branches:multimedia:libs
- Add patch to detect SDL2 >= 2.1.0 (boo#1202848):
  * ffmpeg-sdl2-detection.patch

OBS-URL: https://build.opensuse.org/request/show/999763
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=184
2022-08-29 07:05:30 +00:00
2d5a4e074f Accepting request 983472 from home:iznogood:branches:multimedia:libs
New stable release

OBS-URL: https://build.opensuse.org/request/show/983472
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=182
2022-06-17 20:39:59 +00:00
25f5d4d73c - Add conflicts for ffmpeg-5's tools
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=180
2022-03-23 21:44:48 +00:00
914c0a5c10 Accepting request 962537 from home:iDesmI:Wayland
- Add ffmpeg-libglslang-detection.patch: detects libglslang
- Enable build with libglslang, needed for Vulkan filters

OBS-URL: https://build.opensuse.org/request/show/962537
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=178
2022-03-18 11:38:38 +00:00
320e84ebe2 Accepting request 961470 from home:predivan:branches:multimedia:libs
- Fix OS version check, so nvcodec is enabled for Leap too.

OBS-URL: https://build.opensuse.org/request/show/961470
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=176
2022-03-14 13:25:55 +00:00
977037d3e3 Accepting request 955454 from home:dimstar:Factory
- Disamble libsmbclient usage (can always be built with
  --with-smbclient): the usecase of ffmpeg directly accessing
  smb:// shares is quite constructed (most users will have their
  smb shares mounted).

ffmpeg being behind samba (and ceph) in the build chain does not sound
tempting - for a feature that is unlikely to be used.

OBS-URL: https://build.opensuse.org/request/show/955454
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=174
2022-02-16 20:48:37 +00:00
1b5b040cf3 Accepting request 946826 from home:gmbr3:Active
- Add ffmpeg-chromium.patch: makes packaging Chromium easier and
  will allow for an easier migration for Chromium to FFmpeg 5

OBS-URL: https://build.opensuse.org/request/show/946826
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=173
2022-01-16 19:01:07 +00:00
2cb5bdfef0 Accepting request 934704 from home:dimstar:Factory
- Add ffmpeg-4.keyring: properly validate the added gpg signature.

OBS-URL: https://build.opensuse.org/request/show/934704
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=172
2021-11-30 14:42:25 +00:00
ed05bfc5e6 Accepting request 928002 from home:iznogood:branches:multimedia:libs
- Update to version 4.4.1:
  * Stable bug fix release, mainly codecs and format fixes.
- Refresh patches with quilt.
- Drop patches fixed upstream:
  * ffmpeg-CVE-2021-33815.patch
  * ffmpeg-CVE-2021-38114.patch
  * ffmpeg-CVE-2021-38171.patch
  * ffmpeg-CVE-2020-22037.patch

OBS-URL: https://build.opensuse.org/request/show/928002
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=171
2021-10-28 18:25:04 +00:00
163fe1db7e Accepting request 921459 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2020-22037.patch: Backport from upstream to fix
  denial of service vulnerability exists due to a memory leak in
  avcodec_alloc_context3 at options.c (bsc#1186756).

OBS-URL: https://build.opensuse.org/request/show/921459
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=170
2021-09-26 21:19:18 +00:00
691f3202a0 Accepting request 914527 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2021-38171.patch: Backport from upstream to fix
  adts_decode_extradata in libavformat/adtsenc.c in FFmpeg 4.4
  does not check the init_get_bits return value (bsc#1189724).

OBS-URL: https://build.opensuse.org/request/show/914527
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=169
2021-08-27 08:02:39 +00:00
f5b32b2276 Accepting request 911224 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2021-38114.patch: Backport from upstream to fix
  the return value of the init_vlc function is not checked
  (bsc#1189142).

OBS-URL: https://build.opensuse.org/request/show/911224
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=168
2021-08-10 09:50:29 +00:00
3ed162e90c Accepting request 905444 from home:frispete:branches:multimedia:libs
- Remove second hunk of ffmpeg-CVE-2020-22046.patch, that contains 
  a goto to a none existing label. In order to distinguish this
  patch from the original, I renamed it to
  ffmpeg-4.4-CVE-2020-22046.patch
- While at it, refresh the other patches with offsets

OBS-URL: https://build.opensuse.org/request/show/905444
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=167
2021-07-10 10:30:49 +00:00
1e8f598ca6 Accepting request 904700 from home:AZhou:branches:multimedia:libs
- Add ffmpeg-CVE-2020-22046.patch: Backport from upstream to fix
  a denial of service vulnerability exists in FFmpeg 4.2 due to a
  memory leak in the avpriv_float_dsp_allocl function in
  libavutil/float_dsp.c (bsc#1186849).
- Add ffmpeg-CVE-2021-33815.patch: Backport from upstream to fix
  dwa_uncompress in libavcodec/exr.c in FFmpeg 4.4 allows an
  out-of-bounds array access because dc_count is not strictly
  checked (bsc#1186865).

OBS-URL: https://build.opensuse.org/request/show/904700
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=166
2021-07-08 13:26:34 +00:00
00d83f9124 - Enable SVT-AV1 encoding
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=162
2021-06-04 12:29:37 +00:00
6264814dd8 Accepting request 894701 from home:dmolkentin:branches:multimedia:libs
- Enable vulkan on on Leap 15

OBS-URL: https://build.opensuse.org/request/show/894701
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=161
2021-05-20 23:32:45 +00:00
40933280f1 - Enable libdavd1 on Leap 15.2+ [boo#1184830]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=156
2021-04-16 10:36:41 +00:00
a4f7aeddee - Update to release 4.4
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=155
2021-04-09 20:59:58 +00:00
3765321cb0 Accepting request 879741 from home:dirkmueller:Factory
- update to 4.3.2:
  * lots of oss-fuzz reported overflow fixes, see included ChangeLog 
- drop 
      ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch
      0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch
      0001-avformat-vividas-improve-extradata-packing-checks-in.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/879741
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=153
2021-03-19 09:42:33 +00:00
14cff7697d OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=151 2021-02-09 10:57:40 +00:00
2dcf011d3d - Add 0001-avformat-vividas-improve-extradata-packing-checks-in.patch [boo#1180519]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=150
2021-02-05 21:22:06 +00:00
1d3c1ebdcb Accepting request 866357 from home:dirkmueller:branches:multimedia:libs
- remove dependency on OpenJPEG, this is obsolete since ffmpeg 4.0,
  we already build against OpenJPEG 2.1.
  see changes: 
    - Dropped support for OpenJPEG versions 2.0 and below. Using OpenJPEG now
      requires 2.1 (or later) and pkg-config.

OBS-URL: https://build.opensuse.org/request/show/866357
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=148
2021-01-24 12:27:34 +00:00
1ff483fbf5 Accepting request 851363 from home:michel_mno:branches:multimedia:libs
- Add ffmpeg_altivec_yuv2rgb_novsx.patch for ppc64 (BE) boo#1179332
  https://trac.ffmpeg.org/ticket/8750
  https://bugzilla.opensuse.org/show_bug.cgi?id=1179332

OBS-URL: https://build.opensuse.org/request/show/851363
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=146
2020-11-27 16:18:44 +00:00
1be008346f - Enable VMAF. This can be used to compute VMAF/PSNR/SSIM.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=144
2020-10-19 11:58:05 +00:00
ec2e992468 - Adjust soversion.patch to include a symlink [boo#1177667]
- Add 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=139
2020-10-14 10:04:32 +00:00
4a0c85f142 Accepting request 823002 from home:frispete:RemoteDesktop
- Apply upstream fix to avoid segfaults in x86/yuv2rgb conversion
  ffmpeg.git-ba3e771a42c29ee02c34e7769cfc1b2dbc5c760a.patch

OBS-URL: https://build.opensuse.org/request/show/823002
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=137
2020-07-27 14:02:29 +00:00
d379fede7d Accepting request 821298 from home:FuchtelJockel:branches:multimedia:libs
- Add librav1e support

OBS-URL: https://build.opensuse.org/request/show/821298
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=135
2020-07-17 09:39:17 +00:00