From 0e107f7890338aad1190f23997562a6de3ca29e9 Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Mon, 30 Aug 2010 23:48:35 +0000 Subject: psymodel: Const correct FFPsyWindowInfo. Originally committed as revision 24999 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/psymodel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/psymodel.h') diff --git a/libavcodec/psymodel.h b/libavcodec/psymodel.h index bc19d49f73..fc2f6d954c 100644 --- a/libavcodec/psymodel.h +++ b/libavcodec/psymodel.h @@ -72,7 +72,7 @@ typedef struct FFPsyModel { 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 @@ FFPsyWindowInfo ff_psy_suggest_window(FFPsyContext *ctx, * @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. -- cgit v1.2.3