From 6c868dd48feb23042576119b3052f9c88280d464 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 7 Dec 2017 13:21:57 -0500 Subject: 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 --- lib/rbcodec/codecs/flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec/codecs/flac.c') 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) frame=0; buf = ci->request_buffer(&bytesleft, MAX_FRAMESIZE); while (bytesleft) { - enum codec_command_action action = ci->get_command(¶m); + long action = ci->get_command(¶m); if (action == CODEC_ACTION_HALT) break; -- cgit v1.2.3