[FFmpeg-cvslog] r11719 - in trunk/libavcodec: cavsdec.c cljr.c

michael subversion
Fri Feb 1 04:59:06 CET 2008


Author: michael
Date: Fri Feb  1 04:59:06 2008
New Revision: 11719

Log:
const


Modified:
   trunk/libavcodec/cavsdec.c
   trunk/libavcodec/cljr.c

Modified: trunk/libavcodec/cavsdec.c
==============================================================================
--- trunk/libavcodec/cavsdec.c	(original)
+++ trunk/libavcodec/cavsdec.c	Fri Feb  1 04:59:06 2008
@@ -614,7 +614,7 @@ static void cavs_flush(AVCodecContext * 
 }
 
 static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
-                             uint8_t * buf, int buf_size) {
+                             const uint8_t * buf, int buf_size) {
     AVSContext *h = avctx->priv_data;
     MpegEncContext *s = &h->s;
     int input_size;

Modified: trunk/libavcodec/cljr.c
==============================================================================
--- trunk/libavcodec/cljr.c	(original)
+++ trunk/libavcodec/cljr.c	Fri Feb  1 04:59:06 2008
@@ -37,7 +37,7 @@ typedef struct CLJRContext{
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     CLJRContext * const a = avctx->priv_data;
     AVFrame *picture = data;




More information about the ffmpeg-cvslog mailing list