[packages/ffmpeg] - adjusted x265-210 patch (in 4.1 they reverted alpha changes from 4.0)
qboosh
qboosh at pld-linux.org
Mon Feb 24 19:49:58 CET 2025
commit cbd804b02b689a44c48d690ef71cd8b58842cfb6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Feb 24 19:34:31 2025 +0100
- adjusted x265-210 patch (in 4.1 they reverted alpha changes from 4.0)
ffmpeg-x265-210.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ffmpeg-x265-210.patch b/ffmpeg-x265-210.patch
index 94a6947..c591045 100644
--- a/ffmpeg-x265-210.patch
+++ b/ffmpeg-x265-210.patch
@@ -24,7 +24,7 @@ index 447e6da25f..29fc26eab4 100644
libx265Context *ctx = avctx->priv_data;
x265_picture x265pic;
- x265_picture x265pic_out = { 0 };
-+#if X265_BUILD >= 210
++#if X265_BUILD >= 210 && X265_BUILD < 215
+ x265_picture x265pic_layers_out[MAX_SCALABLE_LAYERS];
+ x265_picture* x265pic_lyrptr_out[MAX_SCALABLE_LAYERS];
+#else
@@ -38,7 +38,7 @@ index 447e6da25f..29fc26eab4 100644
}
}
-+#if X265_BUILD >= 210
++#if X265_BUILD >= 210 && X265_BUILD < 215
+ for (i = 0; i < MAX_SCALABLE_LAYERS; i++)
+ x265pic_lyrptr_out[i] = &x265pic_layers_out[i];
+
@@ -58,7 +58,7 @@ index 447e6da25f..29fc26eab4 100644
- pkt->pts = x265pic_out.pts;
- pkt->dts = x265pic_out.dts;
-+#if X265_BUILD >= 210
++#if X265_BUILD >= 210 && X265_BUILD < 215
+ x265pic_out = x265pic_lyrptr_out[0];
+#else
+ x265pic_out = &x265pic_solo_out;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/cbd804b02b689a44c48d690ef71cd8b58842cfb6
More information about the pld-cvs-commit
mailing list