Module: wine Branch: master Commit: 0393a0e2b58ff65274926572becadfdf49e7a817 URL: https://source.winehq.org/git/wine.git/?a=commit;h=0393a0e2b58ff65274926572b...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Fri Jun 4 09:18:16 2021 +0300
winegstreamer: Fix assert condition.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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) {