decoder: optimize locking when fetching the status
The mutex was unlocked and locked right after when vlc_input_decoder_GetStatus() was called just after vlc_input_decoder_Decode().
The mutex was unlocked and locked right after when vlc_input_decoder_GetStatus() was called just after vlc_input_decoder_Decode().
VideoLAN code repository instance