mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-04 19:07:16 +08:00
system/nxplayer/nxplayer_main.c: fix '%d' missing in sscanf
Change-Id: Ie69c9d4c38c7d6fe926788c67b992d3922b74d8c
This commit is contained in:
parent
a375f64f81
commit
51a96ce935
@ -332,8 +332,8 @@ static int nxplayer_cmd_playraw(FAR struct nxplayer_s *pplayer, char *parg)
|
||||
int chmap = 0;
|
||||
char filename[128];
|
||||
|
||||
sscanf(parg, "%s %d %d %d", filename, &channels, &bpsamp,
|
||||
&samprate, &chmap);
|
||||
sscanf(parg, "%s %d %d %d %d", filename, &channels, &bpsamp,
|
||||
&samprate, &chmap);
|
||||
|
||||
/* Try to play the file specified */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user