mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-05 11:20:00 +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;
|
int chmap = 0;
|
||||||
char filename[128];
|
char filename[128];
|
||||||
|
|
||||||
sscanf(parg, "%s %d %d %d", filename, &channels, &bpsamp,
|
sscanf(parg, "%s %d %d %d %d", filename, &channels, &bpsamp,
|
||||||
&samprate, &chmap);
|
&samprate, &chmap);
|
||||||
|
|
||||||
/* Try to play the file specified */
|
/* Try to play the file specified */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user