--- libavcodec/adxenc.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/libavcodec/adxenc.c b/libavcodec/adxenc.c index 1e8e66c..cff5bb8 100644 --- a/libavcodec/adxenc.c +++ b/libavcodec/adxenc.c @@ -33,7 +33,7 @@ * adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/ */ -static void adx_encode(ADXContext *c, unsigned char *adx, const int16_t *wav, +static void adx_encode(ADXContext *c, uint8_t *adx, const int16_t *wav, ADXChannelState *prev) { PutBitContext pb; @@ -81,8 +81,7 @@ static void adx_encode(ADXContext *c, unsigned char *adx, const int16_t *wav, flush_put_bits(&pb); } -static int adx_encode_header(AVCodecContext *avctx, unsigned char *buf, - size_t bufsize) +static int adx_encode_header(AVCodecContext *avctx, uint8_t *buf, int bufsize) { ADXContext *c = avctx->priv_data; @@ -127,7 +126,7 @@ static int adx_encode_frame(AVCodecContext *avctx, uint8_t *frame, { ADXContext *c = avctx->priv_data; const int16_t *samples = data; - unsigned char *dst = frame; + uint8_t *dst = frame; int rest = avctx->frame_size; if (!c->header_parsed) { -- 1.7.1 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
