diff options
author | Ralph Giles <giles@mozilla.com> | 2012-11-29 22:36:12 +0400 |
---|---|---|
committer | Ralph Giles <giles@mozilla.com> | 2012-11-29 22:36:12 +0400 |
commit | 83f8012ca57251b270847490b5e5e0f534644b8a (patch) | |
tree | 1f38562868c90b9a60acf938c532c161ce7671c8 /celt | |
parent | 07418d9dd8c486c4b3842a4268b272ed6f1b9c54 (diff) |
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.
Diffstat (limited to 'celt')
-rw-r--r-- | celt/celt_decoder.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/celt/celt_decoder.c b/celt/celt_decoder.c index 336a337c..cb575866 100644 --- a/celt/celt_decoder.c +++ b/celt/celt_decoder.c @@ -1080,7 +1080,6 @@ int opus_custom_decoder_ctl(CELTDecoder * OPUS_RESTRICT st, int request, ...) *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 @@ int opus_custom_decoder_ctl(CELTDecoder * OPUS_RESTRICT st, int request, ...) *value=st->rng; } break; -#endif default: goto bad_request; } |