summaryrefslogtreecommitdiff
path: root/libavcodec/aacpsy.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-06-24 10:49:59 +0200
committerDiego Biurrun <diego@biurrun.de>2011-06-25 11:39:36 +0200
commit3a0d0ff5e60a8245f672fedd2aa49fa937aa875a (patch)
tree556ba480995f44cf9ac41e5bb103597fb7383131 /libavcodec/aacpsy.c
parentb36518dcf457f5655c75c978bffed08dcd9535d6 (diff)
aacenc: Mark psy_3gpp_window() as av_unused.
It is intentionally left in to allow adding 3GPP-style windowing in the future. Marking it av_unused silences an annoying unused function warning.
Diffstat (limited to 'libavcodec/aacpsy.c')
-rw-r--r--libavcodec/aacpsy.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c
index 5aea1faa40..cf8f7eb914 100644
--- a/libavcodec/aacpsy.c
+++ b/libavcodec/aacpsy.c
@@ -377,9 +377,10 @@ static const uint8_t window_grouping[9] = {
* Tell encoder which window types to use.
* @see 3GPP TS26.403 5.4.1 "Blockswitching"
*/
-static FFPsyWindowInfo psy_3gpp_window(FFPsyContext *ctx,
- const int16_t *audio, const int16_t *la,
- int channel, int prev_type)
+static av_unused FFPsyWindowInfo psy_3gpp_window(FFPsyContext *ctx,
+ const int16_t *audio,
+ const int16_t *la,
+ int channel, int prev_type)
{
int i, j;
int br = ctx->avctx->bit_rate / ctx->avctx->channels;