changeset 6224:f3621aff9ff0 libavcodec

const
author michael
date Fri, 01 Feb 2008 03:47:32 +0000
parents f07ad27251e5
children d402bcda236b
files bethsoftvideo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bethsoftvideo.c	Fri Feb 01 03:46:11 2008 +0000
+++ b/bethsoftvideo.c	Fri Feb 01 03:47:32 2008 +0000
@@ -46,7 +46,7 @@
     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 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;