[FFmpeg-cvslog] r11743 - trunk/libavcodec/smc.c

michael subversion
Fri Feb 1 15:10:56 CET 2008


Author: michael
Date: Fri Feb  1 15:10:56 2008
New Revision: 11743

Log:
const


Modified:
   trunk/libavcodec/smc.c

Modified: trunk/libavcodec/smc.c
==============================================================================
--- trunk/libavcodec/smc.c	(original)
+++ trunk/libavcodec/smc.c	Fri Feb  1 15:10:56 2008
@@ -48,7 +48,7 @@ typedef struct SmcContext {
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
     /* SMC color tables */
@@ -443,7 +443,7 @@ static int smc_decode_init(AVCodecContex
 
 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;
 




More information about the ffmpeg-cvslog mailing list