From 0393a0e2b58ff65274926572becadfdf49e7a817 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Fri, 4 Jun 2021 09:18:16 +0300 Subject: [PATCH] winegstreamer: Fix assert condition. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/winegstreamer/media_source.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winegstreamer/media_source.c b/dlls/winegstreamer/media_source.c index e153c8e9161..d3d156fc9cb 100644 --- a/dlls/winegstreamer/media_source.c +++ b/dlls/winegstreamer/media_source.c @@ -832,7 +832,7 @@ static HRESULT media_stream_init_desc(struct media_stream *stream) type_count = 1; } - assert(type_count < ARRAY_SIZE(stream_types)); + assert(type_count <= ARRAY_SIZE(stream_types)); if (!type_count) {