Compare commits

112 Commits

Author SHA256 Message Date
47d70dbb75 Accepting request 1247599 from multimedia:libs
- Adjust bconds to build the package in SLFO without xvidcore.

OBS-URL: https://build.opensuse.org/request/show/1247599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=32
2025-02-21 20:37:44 +00:00
992125dff9 Accepting request 1201543 from multimedia:libs
- Add ffmpeg-5-CVE-2024-7055.patch:

OBS-URL: https://build.opensuse.org/request/show/1201543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=31
2024-09-17 16:18:51 +00:00
OBS User unknown
5ecd640548 [info=32ade1364a64337cc79a9b987d6f14d1f98d7d2d997f3c40984921e41d43da3c]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=106
2024-09-17 07:58:09 +00:00
5f31851475 Accepting request 1198597 from multimedia:libs
- Add 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
  [boo#1229338]
- Add 0001-avutil-hwcontext_vaapi-use-the-correct-type-for-VASu.patch
  (resolve FTBFS on i586)

OBS-URL: https://build.opensuse.org/request/show/1198597
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=30
2024-09-04 11:26:59 +00:00
OBS User unknown
556744942c [info=f7cbde4c4585e82dbaf00774b029e89a77dd6840681582736eedb198aac1be87]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=105
2024-09-02 00:42:12 +00:00
OBS User unknown
06a18b31f9 [info=831af95e3e06d494bda619d69deaa9a655a9de8243d96b62d1c20cbae0322e36]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=104
2024-09-01 18:40:40 +00:00
00ef41836d Accepting request 1196200 from multimedia:libs
Add ffmpeg-5-CVE-2024-7272.patch to fix security issues.

OBS-URL: https://build.opensuse.org/request/show/1196200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=29
2024-08-27 17:39:18 +00:00
OBS User unknown
2f9623be74 [info=465a3a0580260765d60ddca45a21acf749687a757d36b4f7ea15fc69ad701f47]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=103
2024-08-21 07:04:07 +00:00
875542d74b Accepting request 1194095 from multimedia:libs
- Remove ffmpeg-5-CVE-2024-32228.patch as it adds/modifies code
  which fails to build with BUILD_ORIG=1.

OBS-URL: https://build.opensuse.org/request/show/1194095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=28
2024-08-16 10:23:42 +00:00
OBS User unknown
34a6650458 [info=da8ae552c63ff692b4851fc743c2c53b037523c558d186e94c53a82deb9d2b98]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=102
2024-08-15 11:38:06 +00:00
2ff2875039 Accepting request 1189863 from multimedia:libs
ffmpeg CVE patches

OBS-URL: https://build.opensuse.org/request/show/1189863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=27
2024-07-28 15:19:08 +00:00
OBS User unknown
27608b7425 [info=456a43c1eebd82b4c31280ed1c60abf81fcf3b36972b699ec8ecf09e62712afb]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=101
2024-07-27 05:57:12 +00:00
OBS User unknown
6d3dae145e [info=a11e95f56fc6460eeeb6e6c848e1175f439a3c341125eb0eb95471249d1fd86c]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=100
2024-07-27 05:53:17 +00:00
OBS User unknown
9cb41539ac [info=8d0c8d913bcd3d35e147ea6abcc1badd002106e9e45fe7b785e2af977a5eb2e3]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=99
2024-07-27 05:52:27 +00:00
OBS User unknown
a40a86b743 [info=e2830ed12e00286d56f1b39819ffdd7f9ef1b0ab2baeba53966412f7b9b8887a]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=98
2024-07-25 07:01:08 +00:00
OBS User unknown
042f0db5de [info=d7766bca89756525fb2620942d0c6476fdc9297df1bb9f9abb61bf99e6410ea0]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=97
2024-07-25 06:58:13 +00:00
dcb1efdd81 [info=b1d0945196caf644183aec4883cd5e5db3e18c6aa4f97552283f46c366df6f65]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=96
2024-07-09 14:13:45 +00:00
c1d71966a9 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
fc0447d5ee Accepting request 1177459 from home:xiaoguang_wang:branches:multimedia:libs
- Add 0001-avfilter-af_stereowiden-Check-length.patch
  [boo#1223437, CVE-2023-51794]

OBS-URL: https://build.opensuse.org/request/show/1177459
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=94
2024-05-29 09:17:54 +00:00
f2f91d6552 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
f699644b43 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
aacc695efe 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
a317f7135c 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
997568a58e 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
5c668c4ad5 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
2e484f90b7 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
f375a77cb2 +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
8a1f86ff7b 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
795dcd5ed4 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
ecf6fd39e5 (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
43995ea90d - 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
c3795435ac 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
0c4a993399 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
8832b15405 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
96bd2e3e57 - 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
bc57044ae8 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
b9a209caee - 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
89ce1aad91 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
915e9ca296 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
d057f2654d OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=73 2023-10-04 11:20:06 +00:00
de74133f52 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
b1b2affb31 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
929ba36250 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
aaba9ac947 - 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
721c6c5e67 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
6aaa9828ba 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
9e87362f02 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
8380edadf2 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
9f08fef2f3 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
464be77685 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
2f503eee01 - 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
369bbdc8f5 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
bd1c8a13d2 - 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
47c6c8f96a - 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
e33a147256 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
141eac2baf - 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
da194e8398 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
2229978239 - 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
61ab34e0fb Accepting request 1061829 from multimedia:libs
- Merge ffmpeg-5-mini.spec with the main .spec file in order to
  make building the _multibuild packages easier for the case the
  package is named to be built for a specific distribution; an
  example would be "A_tw-ffmpeg-5" in Packman.

OBS-URL: https://build.opensuse.org/request/show/1061829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=12
2023-01-30 16:09:42 +00:00
fc3f5dc223 drop unused rpmlintrc
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=53
2023-01-28 16:51:36 +00:00
31893965c4 Accepting request 1061531 from home:manfred-h
- Merge ffmpeg-5-mini.spec with the main .spec file in order to
  make building the _multibuild packages easier for the case the
  package is named to be built for a specific distribution; an
  example would be "A_tw-ffmpeg-5" in Packman.

OBS-URL: https://build.opensuse.org/request/show/1061531
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=52
2023-01-27 15:43:19 +00:00
abc7144c1d osc copypac from project:multimedia:libs package:ffmpeg-5 revision:49
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=51
2023-01-25 17:09:11 +00:00
0e29115ebd Accepting request 1060974 from home:manfred-h
- Add base package name to _multibuild in order to allow for
  distribution specific names such as A_tw-ffmpeg-5, as it is used
  on Packman. Without it, only ffmpeg-5-mini will be built!

OBS-URL: https://build.opensuse.org/request/show/1060974
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=50
2023-01-25 16:31:09 +00:00
a44ed4292f Accepting request 1060634 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1060634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=11
2023-01-24 19:42:50 +00:00
07e1bf76e2 !@#$%
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=48
2023-01-24 12:23:26 +00:00
64546a1914 split mini-devel into mini-devel&mini-libs
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=47
2023-01-15 09:53:46 +00:00
d82f1bb896 apply patches in mini variant too
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=46
2023-01-12 17:34:49 +00:00
f3d7de0d5e even more provides
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=45
2023-01-05 13:46:41 +00:00
de8514193d add more provides
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=44
2023-01-05 13:45:50 +00:00
4ad96efd17 - Reenable SDL2 for ffmpeg-5.spec. ffplay and -vf sdl should be back. [boo#1206505]
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=43
2023-01-05 13:17:11 +00:00
f7f6ec3d6e Add more mini conflicts
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=42
2023-01-05 12:46:19 +00:00
2bb369bb71 Add conflicts between mini-devel and ffmpeg-*-lib*-devel
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=41
2023-01-04 13:30:15 +00:00
9c9cc2f833 - Provide a ffmpeg-5-mini-devel build recipe to help split
anticipated build cycles.

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=40
2022-12-21 10:46:33 +00:00
03b4531513 Accepting request 1042490 from multimedia:libs
- build for x86_64 subarchs the same way like for baseline (forwarded request 1042488 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1042490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=10
2022-12-14 13:10:32 +00:00
998aec3f60 Accepting request 1042488 from home:dirkmueller:Factory
- build for x86_64 subarchs the same way like for baseline

OBS-URL: https://build.opensuse.org/request/show/1042488
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=38
2022-12-12 21:23:18 +00:00
a2498bd8ca Accepting request 1042185 from multimedia:libs
- Enable librist support on TW: enables usage of RIST encoded MPEG-TS
  streams and is used by OBS Studio (forwarded request 1041371 from gmbr3)

OBS-URL: https://build.opensuse.org/request/show/1042185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=9
2022-12-12 16:37:16 +00:00
8117720014 Accepting request 1041371 from home:gmbr3:Active
- Enable librist support on TW: enables usage of RIST encoded MPEG-TS
  streams and is used by OBS Studio

OBS-URL: https://build.opensuse.org/request/show/1041371
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=36
2022-12-11 14:18:31 +00:00
997f83ae53 - Drop BuildRequire on SDL2 to break a dependency loop
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=35
2022-12-06 16:02:53 +00:00
de3ace843f Accepting request 1036209 from 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/1036209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=8
2022-11-16 14:44:15 +00:00
0087866937 Accepting request 1035934 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/1035934
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=33
2022-11-16 11:52:06 +00:00
050fc504f6 Accepting request 1011142 from multimedia:libs
- Refresh Fedora OpenH264 dlopen patch and sources for OpenH264 2.3.1
  * Patch: ffmpeg-dlopen-openh264.patch
  * Source: ffmpeg-dlopen-headers.tar.xz
  * Source: ffmpeg_get_dlopen_headers.sh (forwarded request 1011140 from Pharaoh_Atem)

OBS-URL: https://build.opensuse.org/request/show/1011142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=7
2022-10-16 14:09:35 +00:00
e2dcf9e96a Accepting request 1011140 from home:Pharaoh_Atem:branches:multimedia:libs
- Refresh Fedora OpenH264 dlopen patch and sources for OpenH264 2.3.1
  * Patch: ffmpeg-dlopen-openh264.patch
  * Source: ffmpeg-dlopen-headers.tar.xz
  * Source: ffmpeg_get_dlopen_headers.sh

OBS-URL: https://build.opensuse.org/request/show/1011140
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=31
2022-10-15 17:38:34 +00:00
ba839adf8f Accepting request 1008955 from multimedia:libs
- Enable AMF conditionally (forwarded request 1008954 from alois)

OBS-URL: https://build.opensuse.org/request/show/1008955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=6
2022-10-10 16:47:05 +00:00
a26fc20e71 Accepting request 1008954 from home:alois:branches:multimedia:libs
- Enable AMF conditionally

OBS-URL: https://build.opensuse.org/request/show/1008954
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=29
2022-10-08 16:27:27 +00:00
d5eebf99eb Accepting request 1006269 from multimedia:libs
- Update to release 5.1.2

OBS-URL: https://build.opensuse.org/request/show/1006269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=5
2022-09-27 18:13:31 +00:00
b1f768e770 Curate changelog
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=27
2022-09-26 23:02:18 +00:00
95e3893a26 Accepting request 1006248 from home:CJ:branches:multimedia:libs
- Update to release 5.1.2
  * avcodec/dstdec: Check for overflow in build_filter()
  * avformat/spdifdec: Use 64bit to compute bit rate
  * avformat/rpl: Use 64bit for duration computation
  * avformat/xwma: Use av_rescale() for duration computation
  * avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in duration calculation
  * avformat/sbgdec: Check ts_int in genrate_intervals
  * avformat/sbgdec: clamp end_ts
  * avformat/rmdec: check tag_size
  * avformat/nutdec: Check fields
  * avformat/flvdec: Use 64bit for sum_flv_tag_size
  * avformat/jacosubdec: Fix overflow in get_shift()
  * avformat/genh: Check nb_channels for IMA ADPCM
  * avformat/dxa: avoid bpc overflows
  * avformat/dhav: Use 64bit seek_back
  * avformat/cafdec: Check that nb_frasmes fits within 64bit
  * avformat/asfdec_o: Limit packet offset
  * avformat/apm: Use 64bit for bit_rate computation
  * avformat/ape: Check frames size
  * avformat/icodec: Check nb_pal
  * avformat/aiffdec: Use 64bit for block_duration use
  * avformat/aiffdec: Check block_duration
  * avformat/mxfdec: only probe max run in
  * avformat/mxfdec: Check run_in is within 65536
  * avcodec/mjpegdec: Check for unsupported bayer case
  * avcodec/tta: Check 24bit scaling for overflow
  * avcodec/exr: Check preview psize
  * avcodec/tiff: Fix loop detection
  * libavformat/hls: Free keys
  * avcodec/fmvc: Move frame allocation to a later stage
  * avfilter/vf_showinfo: remove backspaces
  * avcodec/speedhq: Check width
  * avcodec/bink: disallow odd positioned scaled blocks
  * avformat/cafenc: derive Opus frame size from the relevant stream parameters
  * avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak
  * lavc/videotoolbox: do not pass AVCodecContext to decoder output callback
  * lavc/pthread_frame: always transfer stashed hwaccel state
  * avcodec/arm/sbcenc: avoid callee preserved vfp registers
  * avformat/riffdec: don't unconditionally overwrite WAVEFORMATEXTENSIBLE layout
  * avfilter/vf_scale: overwrite the width and height expressions with the original values
  * lavc/pthread_frame: avoid leaving stale hwaccel state in worker threads
  * avutil/tests/.gitignore: Add channel_layout testtool

OBS-URL: https://build.opensuse.org/request/show/1006248
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=26
2022-09-26 22:57:02 +00:00
b1fbc0fee3 Accepting request 1003761 from multimedia:libs
- Update to release 5.1.1

OBS-URL: https://build.opensuse.org/request/show/1003761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=4
2022-09-15 20:59:09 +00:00
39de7aa7f8 5.1.1 already has the fix
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=24
2022-09-15 09:51:21 +00:00
c5f817288d ffmpeg-5.1.1
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=23
2022-09-04 11:49:19 +00:00
7cad697800 Accepting request 991461 from multimedia:libs
- Update to release 5.1
  * AVIF image muxer support for the AV1-based image format
  * JPEG-XL image support
  * Removed the X-Video Motion Compensation (XvMC) hardware
    acceleration
  * IPFS/IPNS protocol support
  * PCM-Bluray encoder support

OBS-URL: https://build.opensuse.org/request/show/991461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=3
2022-07-28 18:58:57 +00:00
4190a4ea3b rework work-around-abi-break.patch and put back the original SONAME - instead go with an adjusted symverdef
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=21
2022-07-27 21:49:26 +00:00
094539fba0 - Enable libjxl
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=20
2022-07-26 18:59:11 +00:00
e192741ea2 Accepting request 990819 from home:gmbr3:Active
- Update ffmpeg-chromium.patch from upstream

OBS-URL: https://build.opensuse.org/request/show/990819
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=19
2022-07-23 17:14:53 +00:00
72bcf8871d fix up changelog syntax
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=18
2022-07-23 16:51:11 +00:00
0312e0b099 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=17 2022-07-23 13:04:47 +00:00
f6167bb034 - Update to release 5.1
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=16
2022-07-23 12:06:00 +00:00
0e24487e05 Accepting request 969259 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/969259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=2
2022-04-11 21:49:44 +00:00
358e2cc477 Accepting request 968075 from home:dirkmueller:Factory
- update to 5.0.1:
  * avcodec/exr: Avoid signed overflow in displayWindow
  * avcodec/diracdec: avoid signed integer overflow in global mv
  * avcodec/takdsp: Fix integer overflow in decorrelate_sf()
  * avcodec/apedec: fix a integer overflow in long_filter_high_3800()
  * avdevice/dshow: fix regression
  * avfilter/vf_subtitles: pass storage size to libass
  * avcodec/vp9_superframe_split_bsf: Don't read inexistent data
  * avcodec/vp9_superframe_split_bsf: Discard invalid zero-sized frames
  * avcodec/vp9_superframe_bsf: Check for existence of data before reading it
  * avcodec/vp9_raw_reorder_bsf: Check for existence of data before reading it
  * avformat/imf: fix packet pts, dts and muxing
  * avformat/imf: open resources only when first needed
  * avformat/imf: cosmetics
  * avformat/imf_cpl: do not use filesize when reading XML file
  * avformat/imfdec: Use proper logcontext
  * avformat/imfdec: do not use filesize when reading XML file
  * doc/utils: add missing 22.2 layout entry
  * avcodec/av1: only set the private context pix_fmt field if get_pixel_format() succeeds
  * avformat/aqtitledec: Skip unrepresentable durations
  * avformat/cafdec: Do not store empty keys in read_info_chunk()
  * avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing
  * avformat/mxfdec: Check for avio_read() failure in mxf_read_strong_ref_array()
  * avformat/mxfdec: Check count in mxf_read_strong_ref_array()
  * avformat/hls: Check target_duration
  * avcodec/pixlet: Avoid signed integer overflow in scaling in filterfn()
  * avformat/matroskadec: Check pre_ns
  * avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior
  * avcodec/libuavs3d: Check ff_set_dimensions() for failure
  * avcodec/speexdec: Align some comments

OBS-URL: https://build.opensuse.org/request/show/968075
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=14
2022-04-11 18:17:21 +00:00
a8edc1a196 Accepting request 964438 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/964438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ffmpeg-5?expand=0&rev=1
2022-04-03 19:30:46 +00:00
125fbf4baa Reinstate cuda_sdk conditional
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=12
2022-03-14 13:39:52 +00:00
d71e3fd873 Accepting request 961334 from home:iznogood:branches:multimedia:libs
Yes, this does not build on i586 for 15.3, but I think we can live with that as ffmpeg-5 will never be the "main" ffmpeg on 15.3, in fact I doubt it will even reach it at all.

- Drop pkgconfig(celt) BuildRequires and stop passing
  --enable-libcelt to configure and drop celt from enable_decoders,
  abandoned upstream for opus.
- Drop pkgconfig(libv4l2) BuildRequires and stop passing
  --enable-libv4l2 to configure, only needed very old devices and
  may cause problems for others for those needing it, use
  LD_PRELOAD pointing on libv4l2.
- Drop pkgconfig(librtmp) BuildRequires and stop passing
  conditional --enable-librtmp to configure, built-in RTMP support
  is better, and has listen mode.
- Drop bcond conditionals for cuda_sdk, libaom, srt, lv2, soxr,
  zmq, zimg and openmpt, build unconditionally for all supported
  versions of openSUSE.
- Drop pkgconfig(enca) BuildRequires: Seems unused.

OBS-URL: https://build.opensuse.org/request/show/961334
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=11
2022-03-14 13:26:44 +00:00
d031150222 adjust baselibs to match spec
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=10
2022-02-26 12:26:25 +00:00
2319375e94 Accepting request 956012 from home:iDesmI:ffmpeg
- Use Shaderc instead of separate glslang/SPIRV-Tools for Vulkan support

OBS-URL: https://build.opensuse.org/request/show/956012
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=9
2022-02-19 13:55:24 +00:00
5560ba3684 adhere to changelog syntax specification
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=8
2022-02-18 23:11:59 +00:00
3cf54e6918 Accepting request 955956 from home:Pharaoh_Atem:branches:multimedia:libs
- Add patch to fix error returned with bad versions of OpenH264
  + Patch: ffmpeg-openh264-averr-on-bad-version.patch
- Enable OpenH264 as an H.264 codec via dlopen using patch from Fedora
  + Patch: ffmpeg-dlopen-openh264.patch
- Add source and script for headers for dlopening OpenH264
  + Source: ffmpeg-dlopen-headers.tar.xz
  + Source: ffmpeg_get_dlopen_headers.sh

OBS-URL: https://build.opensuse.org/request/show/955956
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=7
2022-02-18 23:08:40 +00:00
04ab81e0a4 - 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).
(rq 955454 transplanted to ff5)

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=6
2022-02-16 20:50:06 +00:00
6705325ade - Unconditionalize ffnvcodec (like vmaf already is).
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=5
2022-01-30 20:29:12 +00:00
47046fe022 - Enable building with glslang. (Should enable video blending with GLSL.)
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=4
2022-01-30 20:07:45 +00:00
5617f9f4bf Accepting request 946768 from home:gmbr3:Active
- Add ffmpeg-chromium.patch: allows Chromium to use the now
  internalised field first_dts

OBS-URL: https://build.opensuse.org/request/show/946768
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=3
2022-01-16 15:54:50 +00:00
ef59a95406 trim redundant rpmlintrc rules
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=2
2022-01-15 12:22:25 +00:00
5e5d5145f2 Accepting request 946598 from home:jengelh:ff5
OBS-URL: https://build.opensuse.org/request/show/946598
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-5?expand=0&rev=1
2022-01-15 11:15:43 +00:00

View File

@@ -1,66 +0,0 @@
From 459648761f5412acdc3317d5bac982ceaa257584
Author: Niklas Haas <git@haasn.dev>
Date: Sat Apr 6 13:11:09 2024 +0200
Subject: avcodec/hevcdec: fix segfault on invalid film grain metadata
References: CVE-2024-32228
References: bsc#1227277
Upstream: Backport from upstream
Invalid input files may contain film grain metadata which survives
ff_h274_film_grain_params_supported() but does not pass
av_film_grain_params_select(), leading to a SIGSEGV on hevc_frame_end().
Fix this by duplicating the av_film_grain_params_select() check at frame
init time.
An alternative solution here would be to defer the incompatibility check
to hevc_frame_end(), but this has the downside of allocating a film
grain buffer even when we already know we can't apply film grain.
Fixes: https://trac.ffmpeg.org/ticket/10951
--- ffmpeg-5.1.4/libavcodec/hevcdec.c
+++ ffmpeg-5.1.4_new/libavcodec/hevcdec.c
@@ -3035,12 +3035,29 @@
goto fail;
}
- s->ref->frame->key_frame = IS_IRAP(s);
+ if (IS_IRAP(s))
+ s->ref->frame->flags |= AV_FRAME_FLAG_KEY;
+ else
+ s->ref->frame->flags &= ~AV_FRAME_FLAG_KEY;
- s->ref->needs_fg = s->sei.film_grain_characteristics.present &&
+ s->ref->needs_fg = (s->sei.common.film_grain_characteristics.present ||
+ s->sei.common.aom_film_grain.enable) &&
!(s->avctx->export_side_data & AV_CODEC_EXPORT_DATA_FILM_GRAIN) &&
!s->avctx->hwaccel;
+ ret = set_side_data(s);
+ if (ret < 0)
+ goto fail;
+
+ if (s->ref->needs_fg &&
+ ( s->sei.common.film_grain_characteristics.present &&
+ !ff_h274_film_grain_params_supported(s->sei.common.film_grain_characteristics.model_id,
+ s->ref->frame->format))
+ || !av_film_grain_params_select(s->ref->frame)) {
+ av_log_once(s->avctx, AV_LOG_WARNING, AV_LOG_DEBUG, &s->film_grain_warning_shown,
+ "Unsupported film grain parameters. Ignoring film grain.\n");
+ s->ref->needs_fg = 0;
+ }
if (s->ref->needs_fg) {
s->ref->frame_grain->format = s->ref->frame->format;
s->ref->frame_grain->width = s->ref->frame->width;
@@ -3049,10 +3066,6 @@
goto fail;
}
- ret = set_side_data(s);
- if (ret < 0)
- goto fail;
-
s->frame->pict_type = 3 - s->sh.slice_type;
if (!IS_IRAP(s))