[FFmpeg-cvslog] r11769 - trunk/libavcodec/qdrw.c

michael subversion
Fri Feb 1 16:40:04 CET 2008


Author: michael
Date: Fri Feb  1 16:40:03 2008
New Revision: 11769

Log:
const


Modified:
   trunk/libavcodec/qdrw.c

Modified: trunk/libavcodec/qdrw.c
==============================================================================
--- trunk/libavcodec/qdrw.c	(original)
+++ trunk/libavcodec/qdrw.c	Fri Feb  1 16:40:03 2008
@@ -34,7 +34,7 @@ typedef struct QdrawContext{
 
 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 @@ static int decode_frame(AVCodecContext *
     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;
 




More information about the ffmpeg-cvslog mailing list