diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 22:09:07 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-02-02 22:09:07 +0000 |
commit | 04deea9ad25299579dbbe0e4103e8141b165a666 (patch) | |
tree | 5fa445a65f8eaf3e8923daa0db99754dc48cc1a5 /libavcodec/qtrle.c | |
parent | 2907abed17223af7223fafef8a192e44847ba5bf (diff) | |
download | ffmpeg-04deea9ad25299579dbbe0e4103e8141b165a666.tar.gz |
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.c | 4 |
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; |