aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/makemhr/loadsofa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/makemhr/loadsofa.cpp b/utils/makemhr/loadsofa.cpp
index 5977d52f..ae8a1c46 100644
--- a/utils/makemhr/loadsofa.cpp
+++ b/utils/makemhr/loadsofa.cpp
@@ -415,9 +415,9 @@ bool CheckIrData(MYSOFA_HRTF *sofaHrtf)
if(!ir_dim)
{
fprintf(stderr, "Missing IR dimensions\n");
- /*return false;*/
+ return false;
}
- else if(ir_dim != std::string{"M,R,N"})
+ if(ir_dim != std::string{"M,R,N"})
{
fprintf(stderr, "Unsupported IR dimensions: %s\n", ir_dim);
return false;