Commit a8e1052c authored by Rémi Duraffort's avatar Rémi Duraffort

Fix a crash if BEST_AUTOCROP isn't defined (non initialized mutex).

parent 51cb4767
......@@ -376,8 +376,8 @@ static int Init( vout_thread_t *p_vout )
return VLC_EGENERIC;
}
#ifdef BEST_AUTOCROP
vlc_mutex_init( &p_vout->p_sys->lock );
#ifdef BEST_AUTOCROP
var_AddCallback( p_vout, "ratio-crop", FilterCallback, NULL );
#endif
......
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