diff smc.c @ 6252:8f8017bdf4c8 libavcodec

const
author michael
date Fri, 01 Feb 2008 14:10:56 +0000
parents 2b72f9bc4f06
children 814c8bd77d91
line wrap: on
line diff
--- a/smc.c	Fri Feb 01 14:09:52 2008 +0000
+++ b/smc.c	Fri Feb 01 14:10:56 2008 +0000
@@ -48,7 +48,7 @@
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
     /* SMC color tables */
@@ -443,7 +443,7 @@
 
 static int smc_decode_frame(AVCodecContext *avctx,
                              void *data, int *data_size,
-                             uint8_t *buf, int buf_size)
+                             const uint8_t *buf, int buf_size)
 {
     SmcContext *s = avctx->priv_data;