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:
parent
1c2a7827cc
commit
0393a0e2b5
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue