summaryrefslogtreecommitdiff
path: root/libavcodec/bethsoftvideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:47:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:47:32 +0000
commit5d9375da77dfa6ed7f3166d64597b9fe8b495563 (patch)
tree7d2f6fc210a28a7fbf44324eb1a5dc221f965ef2 /libavcodec/bethsoftvideo.c
parentf84a02c0d13329012ffd480f02167fb9cb4a943c (diff)
const
Originally committed as revision 11714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bethsoftvideo.c')
-rw-r--r--libavcodec/bethsoftvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bethsoftvideo.c b/libavcodec/bethsoftvideo.c
index 48a4c02e52..9d1f6124ad 100644
--- a/libavcodec/bethsoftvideo.c
+++ b/libavcodec/bethsoftvideo.c
@@ -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;