Browse Source

const

Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
5d9375da77
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/bethsoftvideo.c

+ 2
- 2
libavcodec/bethsoftvideo.c View File

@@ -46,7 +46,7 @@ static int bethsoftvid_decode_init(AVCodecContext *avctx)
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];
int a;
@@ -58,7 +58,7 @@ static void set_palette(AVFrame * frame, uint8_t * palette_buffer)

static int bethsoftvid_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size)
const uint8_t *buf, int buf_size)
{
BethsoftvidContext * vid = avctx->priv_data;
char block_type;


Loading…
Cancel
Save