summaryrefslogtreecommitdiff
path: root/src/opus_multistream_encoder.c
diff options
context:
space:
mode:
authorMichael Graczyk <mgraczyk@google.com>2016-06-29 20:30:19 -0700
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-29 23:55:08 -0400
commitd6642d694333309a9676499c1d7910953290e5ed (patch)
tree773c263b5f5bccf7bc15bd86c4dab9ce122d2912 /src/opus_multistream_encoder.c
parent164f7dfa0272d89a38dc73aaeb8a0b6d885eb972 (diff)
downloadopus-d6642d694333309a9676499c1d7910953290e5ed.tar.gz
Fix build error from comma at end of enum
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'src/opus_multistream_encoder.c')
-rw-r--r--src/opus_multistream_encoder.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index a1cd0f5c..9a7ea95e 100644
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -72,9 +72,10 @@ typedef void (*opus_copy_channel_in_func)(
typedef enum {
MAPPING_TYPE_NONE,
- MAPPING_TYPE_SURROUND,
+ MAPPING_TYPE_SURROUND
#ifdef ENABLE_EXPERIMENTAL_AMBISONICS
- MAPPING_TYPE_AMBISONICS,
+ , /* Do not include comma at end of enumerator list */
+ MAPPING_TYPE_AMBISONICS
#endif
} MappingType;