From 1b245cc21c99d009df73fc9bbb1263a05c159558 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Fri, 24 Oct 2003 20:09:30 +0000 Subject: Fixes GCC 3.3.2 warnings patch by (Panagiotis Issaris ) Originally committed as revision 2427 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/adx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/adx.c') diff --git a/libavcodec/adx.c b/libavcodec/adx.c index 4fdca49e83..f13b8a271a 100644 --- a/libavcodec/adx.c +++ b/libavcodec/adx.c @@ -213,7 +213,7 @@ static int adx_encode_close(AVCodecContext *avctx) } static int adx_encode_frame(AVCodecContext *avctx, - unsigned char *frame, int buf_size, const void *data) + uint8_t *frame, int buf_size, void *data) { ADXContext *c = avctx->priv_data; const short *samples = data; @@ -326,7 +326,7 @@ static void dump(unsigned char *buf,size_t len) } static int adx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - const uint8_t *buf0, int buf_size) + uint8_t *buf0, int buf_size) { ADXContext *c = avctx->priv_data; short *samples = data; -- cgit v1.2.3