summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/flac.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-12-07 13:21:57 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-12-07 14:41:59 -0500
commit6c868dd48feb23042576119b3052f9c88280d464 (patch)
tree5d10a6162da7a71f684b049e8f7d85ea564406c2 /lib/rbcodec/codecs/flac.c
parent83e8e35a5888e32b131d628b7516d0de1d73d760 (diff)
downloadrockbox-6c868dd48feb23042576119b3052f9c88280d464.tar.gz
rockbox-6c868dd48feb23042576119b3052f9c88280d464.zip
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
Diffstat (limited to 'lib/rbcodec/codecs/flac.c')
-rw-r--r--lib/rbcodec/codecs/flac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/flac.c b/lib/rbcodec/codecs/flac.c
index eab6e7c2bc..753115dc30 100644
--- a/lib/rbcodec/codecs/flac.c
+++ b/lib/rbcodec/codecs/flac.c
@@ -498,7 +498,7 @@ enum codec_status codec_run(void)
498 frame=0; 498 frame=0;
499 buf = ci->request_buffer(&bytesleft, MAX_FRAMESIZE); 499 buf = ci->request_buffer(&bytesleft, MAX_FRAMESIZE);
500 while (bytesleft) { 500 while (bytesleft) {
501 enum codec_command_action action = ci->get_command(&param); 501 long action = ci->get_command(&param);
502 502
503 if (action == CODEC_ACTION_HALT) 503 if (action == CODEC_ACTION_HALT)
504 break; 504 break;