diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:40:03 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-01 15:40:03 +0000 |
commit | 13c2619e7c166ecfa0b444dd5d2b19d7caddbbb8 (patch) | |
tree | f0fdb4665995d8bdb8343af51adaed68b3fa1063 /libavcodec | |
parent | fb8a82d20a4fa25419f7d87a9e9ee9b23372ed79 (diff) | |
download | ffmpeg-13c2619e7c166ecfa0b444dd5d2b19d7caddbbb8.tar.gz |
const
Originally committed as revision 11769 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qdrw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index cc4d07da1a..0ee9a8f7c2 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -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 *avctx, 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; |