From 1dfa82dfab86b7d28b49cc45a30c0939ce99c1b7 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 8 Apr 2024 16:20:12 +0200 Subject: [PATCH] vdec/gpujpeg: fixed compat gpujpeg case P012Z should not be returned in this context, anyways --- src/video_decompress/gpujpeg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video_decompress/gpujpeg.c b/src/video_decompress/gpujpeg.c index 33d396eda..21477d122 100644 --- a/src/video_decompress/gpujpeg.c +++ b/src/video_decompress/gpujpeg.c @@ -227,6 +227,9 @@ static decompress_status gpujpeg_probe_internal_codec(unsigned char *buffer, siz break; case GPUJPEG_444_U8_P012: case GPUJPEG_444_U8_P0P1P2: +#if !defined NEW_PARAM_IMG_NO_COMP_COUNT + case GPUJPEG_444_U8_P012Z: +#endif internal_prop->subsampling = 4440; break; #ifdef NEW_PARAM_IMG_NO_COMP_COUNT