mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f84a02c0d1
commit
5d9375da77
@ -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…
Reference in New Issue
Block a user