[FFmpeg-cvslog] r11784 - trunk/libavcodec/vc1.c

michael subversion
Fri Feb 1 17:04:29 CET 2008


Author: michael
Date: Fri Feb  1 17:04:29 2008
New Revision: 11784

Log:
some const


Modified:
   trunk/libavcodec/vc1.c

Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c	(original)
+++ trunk/libavcodec/vc1.c	Fri Feb  1 17:04:29 2008
@@ -3941,7 +3941,7 @@ static int vc1_decode_init(AVCodecContex
  */
 static int vc1_decode_frame(AVCodecContext *avctx,
                             void *data, int *data_size,
-                            uint8_t *buf, int buf_size)
+                            const uint8_t *buf, int buf_size)
 {
     VC1Context *v = avctx->priv_data;
     MpegEncContext *s = &v->s;
@@ -3974,7 +3974,7 @@ static int vc1_decode_frame(AVCodecConte
         buf2 = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
 
         if(IS_MARKER(AV_RB32(buf))){ /* frame starts with marker and needs to be parsed */
-            uint8_t *start, *end, *next;
+            const uint8_t *start, *end, *next;
             int size;
 
             next = buf;




More information about the ffmpeg-cvslog mailing list