Mercurial > libavcodec.hg
diff dv.c @ 6266:6e160e75eb9c libavcodec
some const
author | michael |
---|---|
date | Fri, 01 Feb 2008 15:08:55 +0000 |
parents | dfdff1ca78a7 |
children | c32be43b52b2 |
line wrap: on
line diff
--- a/dv.c Fri Feb 01 15:01:05 2008 +0000 +++ b/dv.c Fri Feb 01 15:08:55 2008 +0000 @@ -363,7 +363,7 @@ /* mb_x and mb_y are in units of 8 pixels */ static inline void dv_decode_video_segment(DVVideoContext *s, - uint8_t *buf_ptr1, + const uint8_t *buf_ptr1, const uint16_t *mb_pos_ptr) { int quant, dc, dct_mode, class1, j; @@ -372,7 +372,7 @@ int c_offset; uint8_t *y_ptr; void (*idct_put)(uint8_t *dest, int line_size, DCTELEM *block); - uint8_t *buf_ptr; + const uint8_t *buf_ptr; PutBitContext pb, vs_pb; GetBitContext gb; BlockInfo mb_data[5 * 6], *mb, *mb1;