diff --git a/debian/patches/0060-add-simd-optimized-tonemapx-filter.patch b/debian/patches/0060-add-simd-optimized-tonemapx-filter.patch index 1637b77bf2..7fb24da65c 100644 --- a/debian/patches/0060-add-simd-optimized-tonemapx-filter.patch +++ b/debian/patches/0060-add-simd-optimized-tonemapx-filter.patch @@ -2635,7 +2635,7 @@ Index: FFmpeg/libavfilter/vf_tonemapx.c =================================================================== --- /dev/null +++ FFmpeg/libavfilter/vf_tonemapx.c -@@ -0,0 +1,1881 @@ +@@ -0,0 +1,1886 @@ +/* + * This file is part of FFmpeg. + * @@ -4081,6 +4081,11 @@ Index: FFmpeg/libavfilter/vf_tonemapx.c + return AVERROR_BUG; + } + ++ if (s->trc == AVCOL_TRC_SMPTE2084 && odesc->comp[0].depth == 8) { ++ av_log(s, AV_LOG_ERROR, "HDR passthrough requires 10 bit output format depth\n"); ++ av_assert0(0); ++ } ++ + switch (odesc->comp[2].plane) { + case 1: // biplanar + if (odesc->comp[0].depth == 8) {