Browse code

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.

Diego Biurrun authored on 2011/06/24 17:49:59
Showing 1 changed files
... ...
@@ -377,9 +377,10 @@ static const uint8_t window_grouping[9] = {
377 377
  * Tell encoder which window types to use.
378 378
  * @see 3GPP TS26.403 5.4.1 "Blockswitching"
379 379
  */
380
-static FFPsyWindowInfo psy_3gpp_window(FFPsyContext *ctx,
381
-                                       const int16_t *audio, const int16_t *la,
382
-                                       int channel, int prev_type)
380
+static av_unused FFPsyWindowInfo psy_3gpp_window(FFPsyContext *ctx,
381
+                                                 const int16_t *audio,
382
+                                                 const int16_t *la,
383
+                                                 int channel, int prev_type)
383 384
 {
384 385
     int i, j;
385 386
     int br               = ctx->avctx->bit_rate / ctx->avctx->channels;