Fix #181 by changing the global decode lock into an SRD lock