diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h
index 272cf2a6749d382de155ba30e0996a37a5884865..14f3466b0b8a12ebe9ab4037b29a8a93b4e8965b 100644
--- a/libavcodec/flacdsp.h
+++ b/libavcodec/flacdsp.h
@@ -28,7 +28,7 @@ typedef struct FLACDSPContext {
     void (*lpc)(int32_t *samples, const int coeffs[32], int order,
                 int qlevel, int len);
     void (*lpc_encode)(int32_t *res, const int32_t *smp, int len, int order,
-                       const int32_t *coefs, int shift);
+                       const int32_t coefs[32], int shift);
 } FLACDSPContext;
 
 void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int bps);