system/nxplayer/nxplayer_main.c: fix '%d' missing in sscanf

Change-Id: Ie69c9d4c38c7d6fe926788c67b992d3922b74d8c
This commit is contained in:
y 2020-09-27 15:48:28 +08:00 committed by Xiang Xiao
parent a375f64f81
commit 51a96ce935

View File

@ -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 */