OSDN Git Service

const
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:50:36 +0000 (14:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Feb 2008 14:50:36 +0000 (14:50 +0000)
Originally committed as revision 11753 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cscd.c

index 36005a1..4d99d96 100644 (file)
@@ -135,7 +135,7 @@ static void add_frame_32(AVFrame *f, uint8_t *src,
 #endif
 
 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                        uint8_t *buf, int buf_size) {
+                        const uint8_t *buf, int buf_size) {
     CamStudioContext *c = avctx->priv_data;
     AVFrame *picture = data;