cppcheck performance fixes in cores/dvdplayer/