Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 06:39:15 +0300
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 06:39:15 +0300
commitb5777b942d3ccfe841ca1e1644c2d5daaadd1ff4 (patch)
treeee5e10154c37761e81006addc002ad8c4691e660 /libavcodec/alac.c
parente68c7a4abe9c259af44e3cc1414674743e76cc32 (diff)
const
Originally committed as revision 11711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r--libavcodec/alac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 762c23f5b6..0689a46ef5 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -107,7 +107,7 @@ static void allocate_buffers(ALACContext *alac)
static int alac_set_info(ALACContext *alac)
{
- unsigned char *ptr = alac->avctx->extradata;
+ const unsigned char *ptr = alac->avctx->extradata;
ptr += 4; /* size */
ptr += 4; /* alac */
@@ -439,7 +439,7 @@ static void reconstruct_stereo_16(int32_t *buffer[MAX_CHANNELS],
static int alac_decode_frame(AVCodecContext *avctx,
void *outbuffer, int *outputsize,
- uint8_t *inbuffer, int input_buffer_size)
+ const uint8_t *inbuffer, int input_buffer_size)
{
ALACContext *alac = avctx->priv_data;