[vlc-commits] picture_pool:=?UTF-8?Q?=20don=C2=B4t=20copy=20lock?=/ unlock callback to reserve
Rémi Denis-Courmont
git at videolan.org
Sat Nov 1 13:58:21 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 1 14:57:15 2014 +0200| [64a2675c44873a6ca6534a7a8f0e06e18681dcf2] | committer: Rémi Denis-Courmont
picture_pool: don´t copy lock/unlock callback to reserve
The pictures already got locked while reserved.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64a2675c44873a6ca6534a7a8f0e06e18681dcf2
---
src/misc/picture_pool.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/misc/picture_pool.c b/src/misc/picture_pool.c
index 3603887..da6af5b 100644
--- a/src/misc/picture_pool.c
+++ b/src/misc/picture_pool.c
@@ -221,8 +221,6 @@ picture_pool_t *picture_pool_Reserve(picture_pool_t *master, unsigned count)
if (!pool)
goto error;
- pool->pic_lock = master->pic_lock;
- pool->pic_unlock = master->pic_unlock;
return pool;
error:
More information about the vlc-commits
mailing list