<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-01-30 20:40 GMT+06:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">Le 2016-01-30 10:27, Sergey Radionov a écrit :<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 src/misc/picture_pool.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/misc/picture_pool.c b/src/misc/picture_pool.c<br>
index 8e72382..fd3dd2a 100644<br>
--- a/src/misc/picture_pool.c<br>
+++ b/src/misc/picture_pool.c<br>
@@ -219,7 +219,7 @@ picture_t *picture_pool_Get(picture_pool_t *pool)<br>
<br>
         picture_t *picture = pool->picture[i - 1];<br>
<br>
-        if (pool->pic_lock != NULL && pool->pic_lock(picture) != 0) {<br>
+        if (pool->pic_lock != NULL && pool->pic_lock(picture) !=<br>
VLC_SUCCESS) {<br>
</blockquote>
<br></span>
If you're going to clean this up, please be consistent throughout the file.</blockquote><div><br>Do you mean I should replace similar checks over the whole file<span class="im">?</span></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
             vlc_mutex_lock(&pool->lock);<br>
             pool->available |= 1ULL << (i - 1);<br>
             continue;<br>
</blockquote>
<br>
-- <br></div></div><span class=""><font color="#888888">
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" rel="noreferrer" target="_blank">http://www.remlab.net/</a><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br></div></div>