changeset 6252:8f8017bdf4c8 libavcodec

const
author michael
date Fri, 01 Feb 2008 14:10:56 +0000
parents 743c1ef20291
children cffdb71f0930
files smc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;