Commit 1a2c94cb authored by Michael Niedermayer's avatar Michael Niedermayer

const

Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8687f767
......@@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * avctx) {
}
static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
uint8_t * buf, int buf_size) {
const uint8_t * buf, int buf_size) {
AVSContext *h = avctx->priv_data;
MpegEncContext *s = &h->s;
int input_size;
......
......@@ -37,7 +37,7 @@ typedef struct CLJRContext{
static int decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
CLJRContext * const a = avctx->priv_data;
AVFrame *picture = data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment