summaryrefslogtreecommitdiff
path: root/libavcodec/lzw.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
commit7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch)
tree12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/lzw.h
parentff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff)
consts
I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lzw.h')
-rw-r--r--libavcodec/lzw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lzw.h b/libavcodec/lzw.h
index 6903862707..161f0dce56 100644
--- a/libavcodec/lzw.h
+++ b/libavcodec/lzw.h
@@ -43,9 +43,9 @@ typedef void LZWState;
/* first two functions de/allocate memory for LZWState */
void ff_lzw_decode_open(LZWState **p);
void ff_lzw_decode_close(LZWState **p);
-int ff_lzw_decode_init(LZWState *s, int csize, uint8_t *buf, int buf_size, int mode);
+int ff_lzw_decode_init(LZWState *s, int csize, const uint8_t *buf, int buf_size, int mode);
int ff_lzw_decode(LZWState *s, uint8_t *buf, int len);
-uint8_t* ff_lzw_cur_ptr(LZWState *lzw);
+const uint8_t* ff_lzw_cur_ptr(LZWState *lzw);
void ff_lzw_decode_tail(LZWState *lzw);
/** LZW encode state */