Fixes for Android L and some weird codec exceptions