[vlc-commits] [Git][videolan/vlc][master] input: decoder: fix typo on Lock/Unlock

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jan 23 16:58:49 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
de0f40c2 by Alexandre Janniaux at 2024-01-23T16:32:12+00:00
input: decoder: fix typo on Lock/Unlock

We're supposed to unlock after the error, given that the lock is just
above.

Regression from 7dcc370d120266ca552433b0b419f1e65f194f5c.

- - - - -


1 changed file:

- src/input/decoder.c


Changes:

=====================================
src/input/decoder.c
=====================================
@@ -901,7 +901,7 @@ static subpicture_t *ModuleThread_NewSpuBuffer( decoder_t *p_dec,
 
             vout_Release(p_owner->p_vout);
             p_owner->p_vout = NULL; // the DecoderThread should not use the old vout anymore
-            vlc_fifo_Lock( p_owner->p_fifo );
+            vlc_fifo_Unlock( p_owner->p_fifo );
         }
         return NULL;
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/de0f40c257c423a019e56a2d4859e3618cdd61a3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/de0f40c257c423a019e56a2d4859e3618cdd61a3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list