Modified MIPS build to fix crash, fixed crash when detecting video rotation