changeset 6275:2ce4b47513a0 libavcodec

const
author michael
date Fri, 01 Feb 2008 15:40:03 +0000
parents 458c2f742eef
children e9cff14a5ae5
files qdrw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/qdrw.c	Fri Feb 01 15:39:25 2008 +0000
+++ b/qdrw.c	Fri Feb 01 15:40:03 2008 +0000
@@ -34,7 +34,7 @@
 
 static int decode_frame(AVCodecContext *avctx,
                         void *data, int *data_size,
-                        uint8_t *buf, int buf_size)
+                        const uint8_t *buf, int buf_size)
 {
     QdrawContext * const a = avctx->priv_data;
     AVFrame * const p= (AVFrame*)&a->pic;
@@ -90,7 +90,7 @@
     buf += 18; /* skip unneeded data */
     for (i = 0; i < avctx->height; i++) {
         int size, left, code, pix;
-        uint8_t *next;
+        const uint8_t *next;
         uint8_t *out;
         int tsize = 0;