Commit 2b57b463 authored by Michael Niedermayer's avatar Michael Niedermayer

const

Originally committed as revision 11743 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3d37b11f
...@@ -48,7 +48,7 @@ typedef struct SmcContext { ...@@ -48,7 +48,7 @@ typedef struct SmcContext {
DSPContext dsp; DSPContext dsp;
AVFrame frame; AVFrame frame;
unsigned char *buf; const unsigned char *buf;
int size; int size;
/* SMC color tables */ /* SMC color tables */
...@@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContext *avctx) ...@@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContext *avctx)
static int smc_decode_frame(AVCodecContext *avctx, static int smc_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)
{ {
SmcContext *s = avctx->priv_data; SmcContext *s = avctx->priv_data;
......
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