[vlc-commits] picture_pool: test: remove picture_pool_GetSize call

Steve Lhomme git at videolan.org
Thu Jul 30 14:22:16 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 30 08:16:14 2020 +0200| [b222496c02e1978e30a5212908492a5aa2dabbe7] | committer: Steve Lhomme

picture_pool: test: remove picture_pool_GetSize call

There's already a test to check that we can get as much pictures as we
initialized the pool with.

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

 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 af2d36a06b..9b43c25fdd 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);



More information about the vlc-commits mailing list