1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavc/flacdsp: change lpc_encoder function pointer prototype

This should help to clarify the API.

Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Darnley 2014-08-14 17:14:15 +02:00 committed by Michael Niedermayer
parent c6c345ea92
commit 7ce6c021dc

View File

@ -28,7 +28,7 @@ typedef struct FLACDSPContext {
void (*lpc)(int32_t *samples, const int coeffs[32], int order, void (*lpc)(int32_t *samples, const int coeffs[32], int order,
int qlevel, int len); int qlevel, int len);
void (*lpc_encode)(int32_t *res, const int32_t *smp, int len, int order, 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; } FLACDSPContext;
void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int bps); void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int bps);