vlc | branch: master | Steve Lhomme <[email protected]> | Thu Sep 17 16:45:20 2020 +0200| [aa4f3b1c1eb6fea0b974f201aa7c84e5a168b8ee] | committer: Steve Lhomme
picture_pool: use the picture_chain API > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aa4f3b1c1eb6fea0b974f201aa7c84e5a168b8ee --- src/misc/picture_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/picture_pool.c b/src/misc/picture_pool.c index 988df70fb8..d2df4bf2eb 100644 --- a/src/misc/picture_pool.c +++ b/src/misc/picture_pool.c @@ -93,7 +93,7 @@ static picture_t *picture_pool_ClonePicture(picture_pool_t *pool, picture_t *clone = picture_InternalClone(picture, picture_pool_ReleaseClone, (void*)sys); if (clone != NULL) { - assert(clone->p_next == NULL); + assert(!picture_HasChainedPics(clone)); atomic_fetch_add_explicit(&pool->refs, 1, memory_order_relaxed); } return clone; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
