nxplayer: Complilation failure in one configuration reported by Manuel Sthn

This commit is contained in:
Gregory Nutt 2014-04-21 11:30:39 -06:00
parent 9ef702f5b1
commit c46f34a62e
2 changed files with 4 additions and 1 deletions

View File

@ -886,3 +886,6 @@
from Manuel Stuehn (2014-4-12).
* apps/examples/touchscreen: Add a configuration option to indicate if
architecture-specific initialized is required, yes or no (2014-4-14).
* apps/system/nxplayer/nxplayer.c: Complilation failure in one
configuration reported by Manuel Stuhn (2014-4-21).

View File

@ -169,7 +169,7 @@ static int nxplayer_opendevice(FAR struct nxplayer_s *pPlayer, int format,
*/
if (((pPlayer->prefformat & (1 << (format - 1)) == 0) ||
((pPlayer->preftype & AUDIO_TYPE_OUTPUT) == 0))
((pPlayer->preftype & AUDIO_TYPE_OUTPUT) == 0)))
{
/* Format not supported by the device */