Mercurial > libavcodec.hg
comparison adxdec.c @ 6261:a0797336b964 libavcodec
const
author | michael |
---|---|
date | Fri, 01 Feb 2008 14:37:36 +0000 |
parents | 67e62f3367e0 |
children | a4104482ceef |
comparison
equal
deleted
inserted
replaced
6260:0014e6433d96 | 6261:a0797336b964 |
---|---|
94 return offset; | 94 return offset; |
95 } | 95 } |
96 | 96 |
97 static int adx_decode_frame(AVCodecContext *avctx, | 97 static int adx_decode_frame(AVCodecContext *avctx, |
98 void *data, int *data_size, | 98 void *data, int *data_size, |
99 uint8_t *buf0, int buf_size) | 99 const uint8_t *buf0, int buf_size) |
100 { | 100 { |
101 ADXContext *c = avctx->priv_data; | 101 ADXContext *c = avctx->priv_data; |
102 short *samples = data; | 102 short *samples = data; |
103 const uint8_t *buf = buf0; | 103 const uint8_t *buf = buf0; |
104 int rest = buf_size; | 104 int rest = buf_size; |