1
0
Fork 0
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:
Michael Sevakis 2017-12-07 13:21:57 -05:00
parent 83e8e35a58
commit 6c868dd48f
46 changed files with 55 additions and 52 deletions

View file

@ -1277,7 +1277,7 @@ enum codec_status codec_run(void)
/* The main decoder loop */
while (1) {
enum codec_command_action action = ci->get_command(&param);
long action = ci->get_command(&param);
if (action == CODEC_ACTION_HALT)
break;