vlc | branch: master | Romain Vimont <[email protected]> | Wed May 15 17:21:33 
2019 +0200| [f729a6b965fc1a8c7bb11d4e503d032f196c37e3] | committer: 
Jean-Baptiste Kempf

randomizer: use constant in test

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f729a6b965fc1a8c7bb11d4e503d032f196c37e3
---

 src/playlist/randomizer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/playlist/randomizer.c b/src/playlist/randomizer.c
index 1bb7f9e685..1490caa9a9 100644
--- a/src/playlist/randomizer.c
+++ b/src/playlist/randomizer.c
@@ -704,7 +704,7 @@ test_all_items_selected_exactly_once_with_removals(void)
     vlc_playlist_item_t *items[SIZE];
     ArrayInit(items, SIZE);
 
-    bool ok = randomizer_Add(&randomizer, items, 100);
+    bool ok = randomizer_Add(&randomizer, items, SIZE);
     assert(ok);
 
     bool selected[SIZE] = {0};

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to