shithub: opus

Download patch

ref: d6642d694333309a9676499c1d7910953290e5ed
parent: 164f7dfa0272d89a38dc73aaeb8a0b6d885eb972
author: Michael Graczyk <[email protected]>
date: Wed Jun 29 16:30:19 EDT 2016

Fix build error from comma at end of enum

Signed-off-by: Jean-Marc Valin <[email protected]>

--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -72,9 +72,10 @@
 
 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;