changeset 6315:9ac5c0cfeb56 libavcodec

mark qtrle input data as const.
author reimar
date Sat, 02 Feb 2008 22:09:07 +0000
parents de5d97b6c25b
children 80f5ff30ba58
files qtrle.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;