changeset 6290:b7045a85cd7d libavcodec

some const
author michael
date Fri, 01 Feb 2008 16:04:29 +0000
parents d1cf4f790f31
children d498d28aa9da
files vc1.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Fri Feb 01 16:03:03 2008 +0000
+++ b/vc1.c	Fri Feb 01 16:04:29 2008 +0000
@@ -3941,7 +3941,7 @@
  */
 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 @@
         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;