Commit 665ea820 authored by michael's avatar michael

const


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11714 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 10ce873a
...@@ -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