xbmc/xbmc — pull request #4461 by fritsch (2014-03-22 19:15:24+00:00)
Title: ActiveAE: coverity changes

The second commit needs review by @Anssih

Thanks to cg110 via: http://forum.xbmc.org/showthread.php?tid=170338&pid=1660366#pid1660366