ref: 83f8012ca57251b270847490b5e5e0f534644b8a
parent: 07418d9dd8c486c4b3842a4268b272ed6f1b9c54
author: Ralph Giles <[email protected]>
date: Thu Nov 29 05:36:12 EST 2012
Remove obsolete #ifdef OPUS_BUILD. We always define OPUS_BUILD, so this code has no effect. Likewise there is no reason for it to be conditional. According to Jean-Marc it's left over from when we had an alternate CELT_BUILD define.
--- a/celt/celt_decoder.c
+++ b/celt/celt_decoder.c
@@ -1080,7 +1080,6 @@
*value = st->postfilter_period;
}
break;
-#ifdef OPUS_BUILD
case CELT_GET_MODE_REQUEST:
{
const CELTMode ** value = va_arg(ap, const CELTMode**);
@@ -1103,7 +1102,6 @@
*value=st->rng;
}
break;
-#endif
default:
goto bad_request;
}