xbmc/xbmc — pull request #974 by anssih (2012-05-17 18:56:30+00:00)
Title: fixed: bail out in PAPlayer if codec reports zero sample size

Zero m_codec->m_BitsPerSample will cause division by zero crashes
later.

Fix those by validating the value in CAudioDecoder::Create().