[FFmpeg-cvslog] lavc/flacdsp: change lpc_encoder function pointer prototype

James Darnley git at videolan.org
Thu Aug 14 20:19:54 CEST 2014


ffmpeg | branch: master | James Darnley <james.darnley at gmail.com> | Thu Aug 14 17:14:15 2014 +0200| [7ce6c021dc471c00aaff4f2245424bcb524374c8] | committer: Michael Niedermayer

lavc/flacdsp: change lpc_encoder function pointer prototype

This should help to clarify the API.

Reviewed-by: Christophe Gisquet <christophe.gisquet at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ce6c021dc471c00aaff4f2245424bcb524374c8
---

 libavcodec/flacdsp.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h
index 272cf2a..14f3466 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);



More information about the ffmpeg-cvslog mailing list