[vlc-devel] [PATCH] picture_pool: test: remove picture_pool_GetSize call

Steve Lhomme robux4 at ycbcr.xyz
Thu Jul 30 08:16:46 CEST 2020


There's already a test to check that we can get as much pictures as we
initialized the pool with.
---
 src/test/picture_pool.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/test/picture_pool.c b/src/test/picture_pool.c
index af2d36a06b2..9b43c25fdd4 100644
--- a/src/test/picture_pool.c
+++ b/src/test/picture_pool.c
@@ -114,7 +114,6 @@ int main(void)
 
     pool = picture_pool_NewFromFormat(&fmt, PICTURES);
     assert(pool != NULL);
-    assert(picture_pool_GetSize(pool) == PICTURES);
 
     reserve = picture_pool_Reserve(pool, PICTURES / 2);
     assert(reserve != NULL);
-- 
2.26.2



More information about the vlc-devel mailing list