Browse Source

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>
tags/n2.4
James Darnley Michael Niedermayer 11 years ago
parent
commit
7ce6c021dc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flacdsp.h

+ 1
- 1
libavcodec/flacdsp.h 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);


Loading…
Cancel
Save