summaryrefslogtreecommitdiff
path: root/libavcodec/qtrle.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 22:09:07 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-02-02 22:09:07 +0000
commit04deea9ad25299579dbbe0e4103e8141b165a666 (patch)
tree5fa445a65f8eaf3e8923daa0db99754dc48cc1a5 /libavcodec/qtrle.c
parent2907abed17223af7223fafef8a192e44847ba5bf (diff)
mark qtrle input data as const.
Originally committed as revision 11820 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qtrle.c')
-rw-r--r--libavcodec/qtrle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index 06ea48ed63..84482bac7b 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -45,7 +45,7 @@ typedef struct QtrleContext {
DSPContext dsp;
AVFrame frame;
- unsigned char *buf;
+ const unsigned char *buf;
int size;
} QtrleContext;
@@ -530,7 +530,7 @@ static int qtrle_decode_init(AVCodecContext *avctx)
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;