diff psymodel.h @ 12442:94b578d0af10 libavcodec

psymodel: Const correct FFPsyWindowInfo.
author alexc
date Mon, 30 Aug 2010 23:48:35 +0000
parents 7f42ae22c351
children
line wrap: on
line diff
--- a/psymodel.h	Mon Aug 30 23:43:03 2010 +0000
+++ b/psymodel.h	Mon Aug 30 23:48:35 2010 +0000
@@ -72,7 +72,7 @@
     const char *name;
     int  (*init)   (FFPsyContext *apc);
     FFPsyWindowInfo (*window)(FFPsyContext *ctx, const int16_t *audio, const int16_t *la, int channel, int prev_type);
-    void (*analyze)(FFPsyContext *ctx, int channel, const float *coeffs, FFPsyWindowInfo *wi);
+    void (*analyze)(FFPsyContext *ctx, int channel, const float *coeffs, const FFPsyWindowInfo *wi);
     void (*end)    (FFPsyContext *apc);
 } FFPsyModel;
 
@@ -116,7 +116,7 @@
  * @param wi      window information
  */
 void ff_psy_set_band_info(FFPsyContext *ctx, int channel, const float *coeffs,
-                          FFPsyWindowInfo *wi);
+                          const FFPsyWindowInfo *wi);
 
 /**
  * Cleanup model context at the end.