<html><head></head><body>LGTM.<br><br><div class="gmail_quote">Le 11 janvier 2020 00:01:13 GMT+09:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><hr> include/vlc_picture_pool.h | 1 -<br> src/misc/picture_pool.c | 4 ----<br> 2 files changed, 5 deletions(-)<br><br>diff --git a/include/vlc_picture_pool.h b/include/vlc_picture_pool.h<br>index de385d6a984..6fd74ba5ec8 100644<br>--- a/include/vlc_picture_pool.h<br>+++ b/include/vlc_picture_pool.h<br>@@ -43,7 +43,6 @@ typedef struct {<br> picture_t *const *picture;<br> <br> int (*lock)(picture_t *);<br>- void (*unlock)(picture_t *);<br> } picture_pool_configuration_t;<br> <br> /**<br>diff --git a/src/misc/picture_pool.c b/src/misc/picture_pool.c<br>index ee3c0b0cbf1..3d2c37d99e0 100644<br>--- a/src/misc/picture_pool.c<br>+++ b/src/misc/picture_pool.c<br>@@ -40,7 +40,6 @@ static_assert ((POOL_MAX & (POOL_MAX - 1)) == 0, "Not a power of two");<br> <br> struct picture_pool_t {<br> int (*pic_lock)(picture_t *);<br>- void (*pic_unlock)(picture_t *);<br> vlc_mutex_t lock;<br> vlc_cond_t wait;<br> <br>@@ -77,8 +76,6 @@ static void picture_pool_ReleasePicture(picture_t *clone)<br> unsigned offset = sys & (POOL_MAX - 1);<br> picture_t *picture = pool->picture[offset];<br> <br>- if (pool->pic_unlock != NULL)<br>- pool->pic_unlock(picture);<br> picture_Release(picture);<br> <br> vlc_mutex_lock(&pool->lock);<br>@@ -114,7 +111,6 @@ picture_pool_t *picture_pool_NewExtended(const picture_pool_configuration_t *cfg<br> return NULL;<br> <br> pool->pic_lock = cfg->lock;<br>- pool->pic_unlock = cfg->unlock;<br> vlc_mutex_init(&pool->lock);<br> vlc_cond_init(&pool->wait);<br> if (cfg->picture_count == POOL_MAX)</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>