Commit 5d9375da authored by Michael Niedermayer's avatar Michael Niedermayer

const

Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f84a02c0
...@@ -46,7 +46,7 @@ static int bethsoftvid_decode_init(AVCodecContext *avctx) ...@@ -46,7 +46,7 @@ static int bethsoftvid_decode_init(AVCodecContext *avctx)
return 0; return 0;
} }
static void set_palette(AVFrame * frame, uint8_t * palette_buffer) static void set_palette(AVFrame * frame, const uint8_t * palette_buffer)
{ {
uint32_t * palette = (uint32_t *)frame->data[1]; uint32_t * palette = (uint32_t *)frame->data[1];
int a; int a;
...@@ -58,7 +58,7 @@ static void set_palette(AVFrame * frame, uint8_t * palette_buffer) ...@@ -58,7 +58,7 @@ static void set_palette(AVFrame * frame, uint8_t * palette_buffer)
static int bethsoftvid_decode_frame(AVCodecContext *avctx, static int bethsoftvid_decode_frame(AVCodecContext *avctx,
void *data, int *data_size, void *data, int *data_size,
uint8_t *buf, int buf_size) const uint8_t *buf, int buf_size)
{ {
BethsoftvidContext * vid = avctx->priv_data; BethsoftvidContext * vid = avctx->priv_data;
char block_type; char block_type;
......
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