diff options
Diffstat (limited to 'apps/system/nxplayer/nxplayer.c')
-rw-r--r-- | apps/system/nxplayer/nxplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/nxplayer/nxplayer.c b/apps/system/nxplayer/nxplayer.c index 1c0f66c8a..58d2fb7ef 100644 --- a/apps/system/nxplayer/nxplayer.c +++ b/apps/system/nxplayer/nxplayer.c @@ -253,7 +253,7 @@ static int nxplayer_opendevice(FAR struct nxplayer_s *pPlayer, int format, caps.ac_subtype = format; caps.ac_format[0] = 0; - while (ioctl(pPlayer->devFd, AUDIOIOC_GETCAPS, + while (ioctl(pPlayer->devFd, AUDIOIOC_GETCAPS, (unsigned long) &caps) == caps.ac_len) { /* Check the next set of 4 controls to find the subformat */ |