Commit aa76b6c6 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

modules/codec/ffmpeg/ffmpeg.c: Fix a typo with Global mutex uses.

parent 0e03236e
......@@ -422,7 +422,7 @@ void E_(LibavcodecCallback)( void *p_opaque, int i_level,
void E_(InitLibavcodec)( vlc_object_t *p_object )
{
static int b_ffmpeginit = 0;
vlc_mutex_t *lock;
vlc_mutex_t *lock = var_GetGlobalMutex( "avcodec" );
vlc_mutex_lock( lock );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment