Commit e9b3c55fe0 for ffmpeg

commit e9b3c55fe0321915a70f44f30b276ef2afdc3a0c
Author: romainhedouin <romain.hedouin@epitech.eu>
Date:   Thu Oct 15 13:02:31 2026 +0200

    ffv1_vulkan: simplify the is_rgb expression

    !(colorspace == 0 && fmt != YA8) && fmt != YA8 is the same as
    colorspace != 0 && fmt != YA8. No change in behaviour.

    Found during a code review sweep of ffmpeg using an LLM.

diff --git a/libavcodec/ffv1_vulkan.c b/libavcodec/ffv1_vulkan.c
index fb67cf0d07..abe3653c19 100644
--- a/libavcodec/ffv1_vulkan.c
+++ b/libavcodec/ffv1_vulkan.c
@@ -27,8 +27,7 @@ void ff_ffv1_vk_set_common_sl(AVCodecContext *avctx, FFV1Context *f,
 {
     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(sw_format);
     int color_planes = av_pix_fmt_desc_get(sw_format)->nb_components;
-    int is_rgb = !(f->colorspace == 0 && sw_format != AV_PIX_FMT_YA8) &&
-                 !(sw_format == AV_PIX_FMT_YA8);
+    int is_rgb = f->colorspace != 0 && sw_format != AV_PIX_FMT_YA8;

     SPEC_LIST_ADD(sl,  2, 32, f->version);
     SPEC_LIST_ADD(sl,  3, 32, f->quant_table_count);