Commit 0393a0e2 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winegstreamer: Fix assert condition.

parent 1c2a7827
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment