Michael Graczyk
2016-Jun-30 03:30 UTC
[opus] [PATCH] Fix build error from comma at end of enum
This fixes the build error here: https://mf4.xiph.org/jenkins/job/opus-pedantic-makefile/886/
Michael Graczyk
2016-Jun-30 03:30 UTC
[opus] [PATCH] Fix build error from comma at end of enum
---
src/opus_multistream_encoder.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/opus_multistream_encoder.c b/src/opus_multistream_encoder.c
index a1cd0f5..9a7ea95 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;
--
2.8.0.rc3.226.g39d4020
Possibly Parallel Threads
- [PATCH] Add Functions to Create Ambisonic Multistream Encoder
- [PATCH] Fix ambisonics bitrate when bitrate_bps is OPUS_AUTO
- [PATCH] Add Functions to Create Ambisonic Multistream Encoder
- [PATCH 12/15] Replace call of celt_inner_prod_c() (step 1)
- [PATCH] Support for Channel Mapping 253.