From 78251c805d0d76816e1a4acd7a963167a7d88593 Mon Sep 17 00:00:00 2001 From: ZhangTingan Date: Tue, 17 Nov 2026 21:14:23 +0800 Subject: [PATCH] feat: repair truncated Add-slice-param-of-vaapi-hevc quilt patch The patch added in commit 3b1faf5 was truncated mid-hunk: its header declared 6 old / 7 new lines but the body ended after 5 context lines, so GNU patch aborted with "malformed patch at line 27" and the whole quilt series failed to apply. Regenerate the patch with quilt, completing the hunk context and fixing the line numbers, while keeping the intended num_entry_point_offsets addition and the original DEP-3 header. Log: fix the quilt patch so the debian source package applies cleanly task: https://pms.uniontech.com/task-view-398571.html --- debian/changelog | 7 +++++++ debian/patches/Add-slice-param-of-vaapi-hevc.patch | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index aa71ebd1..d403a8b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ffmpeg (7:6.1.5-0deepin15) unstable; urgency=medium + + * Fix the truncated Add-slice-param-of-vaapi-hevc quilt patch so the + source package applies cleanly + + -- zhangtingan Tue, 17 Nov 2026 21:20:00 +0800 + ffmpeg (7:6.1.5-0deepin14) unstable; urgency=medium * Add slice param of vaapi-hevc (port from V20 release/eagle) diff --git a/debian/patches/Add-slice-param-of-vaapi-hevc.patch b/debian/patches/Add-slice-param-of-vaapi-hevc.patch index aaca370d..f9b99717 100644 --- a/debian/patches/Add-slice-param-of-vaapi-hevc.patch +++ b/debian/patches/Add-slice-param-of-vaapi-hevc.patch @@ -10,14 +10,13 @@ with HEVC streams that use multiple entry points (e.g. WPP parallel encoding). Port from V20 release/eagle branch (upstream commit df88b4ca, Change-Id: Ie812214e541641df2f668e82c0e26cad3aaa0f16). --- - libavcodec/vaapi_hevc.c | 1 + - 1 file changed, 1 insertion(+) + libavcodec/vaapi_hevc.c | 2 ++ + 1 file changed, 2 insertions(+) diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c -index 9d668eb55e..cece7a3c3b 100644 --- a/libavcodec/vaapi_hevc.c +++ b/libavcodec/vaapi_hevc.c -@@ -498,6 +498,7 @@ static int vaapi_hevc_decode_slice(AVCodecContext *avctx, +@@ -504,6 +504,8 @@ static int vaapi_hevc_decode_slice(AVCodecContext *avctx, .num_ref_idx_l0_active_minus1 = sh->nb_refs[L0] ? sh->nb_refs[L0] - 1 : 0, .num_ref_idx_l1_active_minus1 = sh->nb_refs[L1] ? sh->nb_refs[L1] - 1 : 0, @@ -25,3 +24,4 @@ index 9d668eb55e..cece7a3c3b 100644 + .LongSliceFlags.fields = { .dependent_slice_segment_flag = sh->dependent_slice_segment_flag, + .slice_type = sh->slice_type,