forked from len0rd/rockbox
Remove explicit 'enum codec_command_action' in codec API
Just use long so the compiler potentially doesn't complain about use of other values not in the enum. It's also the type used around the system for event ids. Increase min codec API version. No functional changes. Change-Id: If4419b42912f5e4ef673adcdeb69313e503f94cc
This commit is contained in:
parent
83e8e35a58
commit
6c868dd48f
46 changed files with 55 additions and 52 deletions
|
|
@ -1277,7 +1277,7 @@ enum codec_status codec_run(void)
|
|||
|
||||
/* The main decoder loop */
|
||||
while (1) {
|
||||
enum codec_command_action action = ci->get_command(¶m);
|
||||
long action = ci->get_command(¶m);
|
||||
|
||||
if (action == CODEC_ACTION_HALT)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue