winegstreamer: Fix assert condition.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-06-04 09:18:16 +03:00 committed by Alexandre Julliard
parent 1c2a7827cc
commit 0393a0e2b5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{