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

Alexandre Janniaux ajanni at videolabs.io
Thu Jul 30 14:20:22 CEST 2020


Hi,

Please merge to fix the CI. :)

Regards,
--
Alexandre Janniaux
Videolabs

On Thu, Jul 30, 2020 at 08:16:46AM +0200, Steve Lhomme wrote:
> 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
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list