[vlc-commits] fingerprinter: remove useless lock

Alexandre Janniaux git at videolan.org
Mon Mar 30 09:46:11 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Mon Mar 23 19:03:41 2020 +0100| [0c022ef2e10323da9cdc4db38dd974e8547bb690] | committer: Alexandre Janniaux

fingerprinter: remove useless lock

The processing queue is using the player lock with the processing
condition variable, so this has become a unused variable since player
refactor at least.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c022ef2e10323da9cdc4db38dd974e8547bb690
---

 modules/misc/fingerprinter.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/misc/fingerprinter.c b/modules/misc/fingerprinter.c
index 7a6bfc847d..99a05346f0 100644
--- a/modules/misc/fingerprinter.c
+++ b/modules/misc/fingerprinter.c
@@ -54,7 +54,6 @@ struct fingerprinter_sys_t
     struct
     {
         vlc_array_t         queue;
-        vlc_mutex_t         lock;
         vlc_cond_t          cond;
         bool                b_working;
     } processing;



More information about the vlc-commits mailing list