[FFmpeg-soc] [soc]: r4424 - in aacenc: psymodel.c psymodel.h

alexc subversion at mplayerhq.hu
Thu Jun 11 16:44:04 CEST 2009


Author: alexc
Date: Thu Jun 11 16:44:04 2009
New Revision: 4424

Log:
Add const qualifiers

Modified:
   aacenc/psymodel.c
   aacenc/psymodel.h

Modified: aacenc/psymodel.c
==============================================================================
--- aacenc/psymodel.c	Thu Jun 11 16:22:11 2009	(r4423)
+++ aacenc/psymodel.c	Thu Jun 11 16:44:04 2009	(r4424)
@@ -27,7 +27,7 @@ extern const FFPsyModel ff_aac_psy_model
 
 av_cold int ff_psy_init(FFPsyContext *ctx, AVCodecContext *avctx,
                         int num_lens,
-                        uint8_t **bands, int* num_bands)
+                        const uint8_t **bands, const int* num_bands)
 {
     ctx->avctx = avctx;
     ctx->psy_bands = av_mallocz(sizeof(FFPsyBand) * PSY_MAX_BANDS * avctx->channels);

Modified: aacenc/psymodel.h
==============================================================================
--- aacenc/psymodel.h	Thu Jun 11 16:22:11 2009	(r4423)
+++ aacenc/psymodel.h	Thu Jun 11 16:44:04 2009	(r4424)
@@ -89,7 +89,7 @@ typedef struct FFPsyModel {
  */
 av_cold int ff_psy_init(FFPsyContext *ctx, AVCodecContext *avctx,
                         int num_lens,
-                        uint8_t **bands, int* num_bands);
+                        const uint8_t **bands, const int* num_bands);
 
 /**
  * Suggest window sequence for channel.


More information about the FFmpeg-soc mailing list