nxplayer: Complilation failure in one configuration reported by Manuel Sthn
This commit is contained in:
parent
9ef702f5b1
commit
c46f34a62e
@ -886,3 +886,6 @@
|
|||||||
from Manuel Stuehn (2014-4-12).
|
from Manuel Stuehn (2014-4-12).
|
||||||
* apps/examples/touchscreen: Add a configuration option to indicate if
|
* apps/examples/touchscreen: Add a configuration option to indicate if
|
||||||
architecture-specific initialized is required, yes or no (2014-4-14).
|
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).
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ static int nxplayer_opendevice(FAR struct nxplayer_s *pPlayer, int format,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if (((pPlayer->prefformat & (1 << (format - 1)) == 0) ||
|
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 */
|
/* Format not supported by the device */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user