[FFmpeg-devel] [PATCH 2/2] lavc/flacdsp: change lpc_encoder function pointer prototype

James Darnley james.darnley at gmail.com
Thu Aug 14 17:14:15 CEST 2014


This should help to clarify the API.
---
 libavcodec/flacdsp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h
index e8487c8..23d1ae4 100644
--- a/libavcodec/flacdsp.h
+++ b/libavcodec/flacdsp.h
@@ -35,7 +35,7 @@ typedef struct FLACDSPContext {
      * - when SSE4 (or newer) is available on x86 to unroll a copy loop.
      */
     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);
-- 
1.7.9



More information about the ffmpeg-devel mailing list