Mercurial > libavcodec.hg
diff common.h @ 1083:b923be2fc4b5 libavcodec
* using const buffers for reading
author | kabi |
---|---|
date | Mon, 24 Feb 2003 13:41:57 +0000 |
parents | 89e233c2ef45 |
children | 1e39f273ecd6 |
line wrap: on
line diff
--- a/common.h Mon Feb 24 13:28:22 2003 +0000 +++ b/common.h Mon Feb 24 13:41:57 2003 +0000 @@ -236,7 +236,7 @@ /* bit input */ typedef struct GetBitContext { - uint8_t *buffer, *buffer_end; + const uint8_t *buffer, *buffer_end; #ifdef ALT_BITSTREAM_READER int index; #elif defined LIBMPEG2_BITSTREAM_READER @@ -669,7 +669,7 @@ } void init_get_bits(GetBitContext *s, - uint8_t *buffer, int buffer_size); + const uint8_t *buffer, int buffer_size); int check_marker(GetBitContext *s, const char *msg); void align_get_bits(GetBitContext *s);