aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 02:36:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 02:36:09 +0000
commitb1f5712e3c488d1604f4a363e069c839e03ed3fc (patch)
tree0b01a60a4951affaad8efa091546328d943660fa /libavcodec
parent30317501a0a637d78ad3b14afb07efdf2f0dd68c (diff)
downloadffmpeg-b1f5712e3c488d1604f4a363e069c839e03ed3fc.tar.gz
consts
Originally committed as revision 11706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mace.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 145cf4a613..7256f7678f 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -263,7 +263,7 @@ static void chomp3(MACEContext *ctx,
/* /// "Exp1to3()" */
static void Exp1to3(MACEContext *ctx,
- uint8_t *inBuffer,
+ const uint8_t *inBuffer,
void *outBuffer,
uint32_t cnt,
uint32_t numChannels,
@@ -347,7 +347,7 @@ static void chomp6(MACEContext *ctx,
/* /// "Exp1to6()" */
static void Exp1to6(MACEContext *ctx,
- uint8_t *inBuffer,
+ const uint8_t *inBuffer,
void *outBuffer,
uint32_t cnt,
uint32_t numChannels,
@@ -401,7 +401,7 @@ static int mace_decode_init(AVCodecContext * avctx)
static int mace_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
short *samples;
MACEContext *c = avctx->priv_data;