diff --git a/modules/codec/ffmpeg/video.c b/modules/codec/ffmpeg/video.c
index 48f37410d7b3dbd27103d5c74027697f7fd42c4e..89c15cfbe01dc2f443f352b5d627ba72ab66ef81 100644
--- a/modules/codec/ffmpeg/video.c
+++ b/modules/codec/ffmpeg/video.c
@@ -378,7 +378,7 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
         p_sys->p_context->palctrl = &palette_control;
 
     /* ***** Open the codec ***** */
-    vlc_mutex_t *lock = var_GetAcquireMutex( "avcodec" );
+    vlc_mutex_t *lock = var_AcquireMutex( "avcodec" );
     if( lock == NULL )
     {
         free( p_sys );