diff --git a/src/hdf/dataobject.c b/src/hdf/dataobject.c index 2039c77..8d7de4d 100644 --- a/src/hdf/dataobject.c +++ b/src/hdf/dataobject.c @@ -622,7 +622,7 @@ static int readOHDRHeaderMessageGroupInfo(struct READER *reader, static int readOHDRHeaderMessageFilterPipelineV1(struct READER *reader, uint8_t filters) { int i, j; - uint16_t filter_identification_value, flags, number_client_data_values, + uint16_t filter_identification_value, number_client_data_values, namelength; if (readValue(reader, 6) != 0) { @@ -645,7 +645,7 @@ static int readOHDRHeaderMessageFilterPipelineV1(struct READER *reader, // LCOV_EXCL_STOP } namelength = (uint16_t)readValue(reader, 2); - flags = (uint16_t)readValue(reader, 2); + readValue(reader, 2); number_client_data_values = (uint16_t)readValue(reader, 2); if (namelength > 0) diff --git a/src/hrtf/mysofa.h b/src/hrtf/mysofa.h index 1c6e45b..206e77b 100644 --- a/src/hrtf/mysofa.h +++ b/src/hrtf/mysofa.h @@ -12,6 +12,7 @@ extern "C" { #include #include +#include #define MYSOFA_DEFAULT_NEIGH_STEP_ANGLE 0.5f #define MYSOFA_DEFAULT_NEIGH_STEP_RADIUS 0.01f @@ -162,8 +163,8 @@ struct MYSOFA_EASY *mysofa_cache_store(struct MYSOFA_EASY *, void mysofa_cache_release(struct MYSOFA_EASY *); void mysofa_cache_release_all(void); -void mysofa_c2s(float *values); -void mysofa_s2c(float *values); +void mysofa_c2s(float values[3]); +void mysofa_s2c(float values[3]); struct MYSOFA_EASY { struct MYSOFA_HRTF *hrtf;