SHA256
1
0
forked from pool/ffmpeg-5
Commit Graph

104 Commits

Author SHA256 Message Date
32ade1364a 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-17 10:32:46 +08:00
f7cbde4c45 Add 0001-avutil-hwcontext_vaapi-use-the-correct-type-for-VASu.patch 2024-09-02 02:47:08 +02:00
831af95e3e Add 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch 2024-09-01 20:45:25 +02:00
465a3a0580 Add ffmpeg-5-CVE-2024-7272.patch: Backporting 9903ba28 from upstream. error out on invalid layouts.
* If it's unsupported or invalid, then there's no point trying to rebuild it using a value that may have been derived from the same layout to begin with.
* Move the checks before the attempts at copying the layout while at it.
(CVE-2024-7272, bsc#1229261)
2024-08-21 14:26:26 +08:00
Manfred Hollstein
da8ae552c6 Remove ffmpeg-5-CVE-2024-32228.patch 2024-08-15 13:36:07 +02:00
456a43c1ee Convert files to LFS pointers 2024-07-27 08:00:37 +02:00
a11e95f56f Revert renames rejected by factory-auto in rq 1189525 2024-07-27 07:57:04 +02:00
e2830ed12e Restore Git-Clone line 2024-07-25 09:04:09 +02:00
d7766bca89 Add ffmpeg-5-CVE-2024-32228.patch, ffmpeg-5-CVE-2024-32230.patch: backport fixes from upstream to fix CVE issues. 2024-07-25 13:16:46 +08:00
Ana Guerrero
b1d0945196 Accepting request 1177514 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1177514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=26
2024-05-29 17:36:22 +00:00
b8335667a6 - Add 0001-avfilter-af_stereowiden-Check-length.patch
[boo#1223437, CVE-2023-51794]

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=94
2024-05-29 09:17:54 +00:00
Dominique Leuenberger
59355074f4 Accepting request 1172480 from multimedia:libs
- Add ffmpeg-CVE-2023-50010.patch:
- Add ffmpeg-CVE-2023-50009.patch:

OBS-URL: https://build.opensuse.org/request/show/1172480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=25
2024-05-08 09:39:10 +00:00
ccf5285d75 add bugrefs and explanation
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=92
2024-05-07 14:55:08 +00:00
651f9ba2dd Accepting request 1172423 from home:qzhao:branches:multimedia:libs
Add ffmpeg-Templatify-ff_gaussian_blur-and-ff-function.patch ffmpeg-CVE-2023-50010.patch ffmpeg-CVE-2023-50009.patch to fix CVE bugs.

OBS-URL: https://build.opensuse.org/request/show/1172423
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=91
2024-05-07 14:51:08 +00:00
Ana Guerrero
106a991aa6 Accepting request 1170214 from multimedia:libs
(CVE-2023-51793 bsc#1223272)
  (CVE-2023-49502 bsc#1223235)
  (CVE-2023-50008 bsc#1223254)
  (CVE-2023-50007 bsc#1223253)

OBS-URL: https://build.opensuse.org/request/show/1170214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=24
2024-04-26 21:27:12 +00:00
3c3fb2af32 move metadata into patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=89
2024-04-25 21:52:31 +00:00
f5700206a0 Accepting request 1170192 from home:qzhao:branches:multimedia:libs
Add ffmpeg-CVE-2023-50007.patch ffmpeg-CVE-2023-50008.patch ffmpeg-CVE-2023-49502.patch ffmpeg-CVE-2023-51793.patch to fix CVE bugs.

OBS-URL: https://build.opensuse.org/request/show/1170192
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=88
2024-04-25 21:49:41 +00:00
Ana Guerrero
9b780d0326 Accepting request 1169772 from multimedia:libs
Address a bunch of CVEs

OBS-URL: https://build.opensuse.org/request/show/1169772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=23
2024-04-23 16:56:17 +00:00
ce70338f7d +0001-avfilter-f_reverse-Apply-PTS-compensation-only-when-.patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=86
2024-04-22 23:23:08 +00:00
8acab4b7f8 address +1 issue/CVE
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=85
2024-04-22 23:18:01 +00:00
c7d526a909 update patches with issue report links
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=84
2024-04-22 15:55:23 +00:00
4aec72184e (4/4) +0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=83
2024-04-22 13:36:07 +00:00
6a6cec7872 - address 4 bugzilla issues/CVEs
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=82
2024-04-22 13:35:00 +00:00
Ana Guerrero
2d102fab3e Accepting request 1143658 from multimedia:libs
- drop support for libmfx, which is no longer supported upstream
  at all (boo#1219494) (forwarded request 1143611 from sndirsch)

OBS-URL: https://build.opensuse.org/request/show/1143658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=22
2024-02-04 18:07:24 +00:00
8311355bd0 Accepting request 1143611 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/1143611
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=80
2024-02-02 14:51:44 +00:00
Ana Guerrero
72f1265db7 Accepting request 1140025 from multimedia:libs
- Disable libjxl integration as ffmpeg-5 cannot handle libjxl>=0.9.

OBS-URL: https://build.opensuse.org/request/show/1140025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=21
2024-01-21 22:08:21 +00:00
34836b2d97 - Disable libjxl integration as ffmpeg-5 cannot handle libjxl>=0.9.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=78
2024-01-19 22:07:18 +00:00
Ana Guerrero
6e9ea47c1c Accepting request 1131457 from multimedia:libs
- Copy codec list from ffmpeg-6

OBS-URL: https://build.opensuse.org/request/show/1131457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=20
2023-12-07 18:10:12 +00:00
cc8fab96c3 - Copy current codec list from ffmpeg-6
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=76
2023-12-06 09:19:51 +00:00
Ana Guerrero
c65f87ea60 Accepting request 1124970 from multimedia:libs
- Update to version 5.1.4:
  * Updates and bugfixes to avcodecs, avformat and avfilters
    mainly.
- Drop patches fixed upstream:
  * 0001-avcodec-libsvtav1-replace-vbv_bufsize-with-maximum_b.patch
  * 0002-avcodec-libsvtav1-remove-compressed_ten_bit_format-a.patch
  * 0003-avcodec-libsvtav1-only-set-max_buf_sz-if-both-bitrat.patch
  * 0004-avcodec-libsvtav1-use-larger-of-bit-rate-and-max-rat.patch
  * 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch (forwarded request 1124867 from iznogood)

OBS-URL: https://build.opensuse.org/request/show/1124970
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=19
2023-11-13 21:18:18 +00:00
070008e71c Accepting request 1124867 from home:iznogood:factory
- Update to version 5.1.4:
  * Updates and bugfixes to avcodecs, avformat and avfilters
    mainly.
- Drop patches fixed upstream:
  * 0001-avcodec-libsvtav1-replace-vbv_bufsize-with-maximum_b.patch
  * 0002-avcodec-libsvtav1-remove-compressed_ten_bit_format-a.patch
  * 0003-avcodec-libsvtav1-only-set-max_buf_sz-if-both-bitrat.patch
  * 0004-avcodec-libsvtav1-use-larger-of-bit-rate-and-max-rat.patch
  * 0001-avcodec-x86-mathops-clip-constants-used-with-shift-i.patch

OBS-URL: https://build.opensuse.org/request/show/1124867
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=74
2023-11-10 13:09:48 +00:00
51222908f8 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=73 2023-10-04 11:20:06 +00:00
7937abeecd use git-fomat-patch to extract patch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=72
2023-10-04 09:29:51 +00:00
581cca54e9 Accepting request 1115537 from home:manfred-h
- Add ffmpeg-x86-mathops.patch to allow building for Leap

OBS-URL: https://build.opensuse.org/request/show/1115537
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=71
2023-10-04 09:06:02 +00:00
Dominique Leuenberger
8b7ff05acf Accepting request 1095979 from multimedia:libs
- Add 0001-avcodec-libsvtav1-replace-vbv_bufsize-with-maximum_b.patch,
  0002-avcodec-libsvtav1-remove-compressed_ten_bit_format-a.patch,
  0003-avcodec-libsvtav1-only-set-max_buf_sz-if-both-bitrat.patch,
  0004-avcodec-libsvtav1-use-larger-of-bit-rate-and-max-rat.patch

OBS-URL: https://build.opensuse.org/request/show/1095979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=18
2023-06-29 15:29:32 +00:00
8097484d43 - Add 0001-avcodec-libsvtav1-replace-vbv_bufsize-with-maximum_b.patch,
0002-avcodec-libsvtav1-remove-compressed_ten_bit_format-a.patch,
  0003-avcodec-libsvtav1-only-set-max_buf_sz-if-both-bitrat.patch,
  0004-avcodec-libsvtav1-use-larger-of-bit-rate-and-max-rat.patch

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=69
2023-06-29 12:29:10 +00:00
Dominique Leuenberger
142853b60e Accepting request 1080446 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1080446
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=17
2023-04-21 12:15:36 +00:00
a6e6aeedfc Accepting request 1080435 from home:iznogood:branches:multimedia:libs
- 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.

OBS-URL: https://build.opensuse.org/request/show/1080435
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=67
2023-04-19 22:08:37 +00:00
Dominique Leuenberger
dbf956113b Accepting request 1072937 from multimedia:libs
obsoletes != provides
THIS IS NEEDED
https://www.reddit.com/r/openSUSE/comments/11sl1a7/comment/jcg9pbh/?utm_source=share&utm_medium=web2x&context=3 (forwarded request 1072935 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/1072937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=16
2023-03-21 16:40:08 +00:00
aa15319d58 Accepting request 1072935 from home:gmbr3:Active
obsoletes != provides
THIS IS NEEDED
https://www.reddit.com/r/openSUSE/comments/11sl1a7/comment/jcg9pbh/?utm_source=share&utm_medium=web2x&context=3

OBS-URL: https://build.opensuse.org/request/show/1072935
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=65
2023-03-19 13:28:06 +00:00
59d54df1b8 Revert to r62: ffmpeg-6 is going to provide libswscale4
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=64
2023-03-18 07:52:57 +00:00
8a6b1b01a4 Accepting request 1072459 from home:gmbr3:Active
- Obsolete old FFmpeg 5 libswresample4, otherwise they'll conflict

OBS-URL: https://build.opensuse.org/request/show/1072459
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=63
2023-03-16 20:32:52 +00:00
ce2a8cac2f - Conflict with otherproviders(ffmpeg-tools).
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=62
2023-03-16 17:55:45 +00:00
Dominique Leuenberger
7a0e128cc5 Accepting request 1071235 from multimedia:libs
add to ADI:66

OBS-URL: https://build.opensuse.org/request/show/1071235
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=15
2023-03-15 17:52:59 +00:00
f37992289b - Add soname.diff to get libswresample4 nonconflicting with ffmpeg-6.
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=60
2023-03-13 11:54:46 +00:00
9ccaad1a01 - Actually enable libjxl backend
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=59
2023-03-09 09:48:55 +00:00
Dominique Leuenberger
7dafbbbc6c Accepting request 1067951 from multimedia:libs
- Add ``Requires: this-is-only-for-build-envs`` [boo#1208652]

OBS-URL: https://build.opensuse.org/request/show/1067951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=14
2023-02-28 11:48:14 +00:00
956ace7341 - Add `Requires: this-is-only-for-build-envs` [boo#1208652]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=57
2023-02-27 09:45:13 +00:00
Dominique Leuenberger
3a762682df Accepting request 1062300 from multimedia:libs
- Add no-vk-video-decoding.patch to resolve build failure with Vulkan 1.3.239

OBS-URL: https://build.opensuse.org/request/show/1062300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=13
2023-02-01 15:38:57 +00:00
7abcdfc329 - Add no-vk-video-decoding.patch to resolve build failure with Vulkan 1.3.239
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=55
2023-01-31 16:09:31 +00:00