diff qtrle.c @ 6315:9ac5c0cfeb56 libavcodec

mark qtrle input data as const.
author reimar
date Sat, 02 Feb 2008 22:09:07 +0000
parents 2b72f9bc4f06
children 814c8bd77d91
line wrap: on
line diff
--- a/qtrle.c	Sat Feb 02 21:55:56 2008 +0000
+++ b/qtrle.c	Sat Feb 02 22:09:07 2008 +0000
@@ -45,7 +45,7 @@
     DSPContext dsp;
     AVFrame frame;
 
-    unsigned char *buf;
+    const unsigned char *buf;
     int size;
 
 } QtrleContext;
@@ -530,7 +530,7 @@
 
 static int qtrle_decode_frame(AVCodecContext *avctx,
                               void *data, int *data_size,
-                              uint8_t *buf, int buf_size)
+                              const uint8_t *buf, int buf_size)
 {
     QtrleContext *s = avctx->priv_data;