aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:08:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 15:08:55 +0000
commit095f08d5992491c6790061db6a3f083da8a97a1a (patch)
treec7ed11364654b3045b1c349d3e069d442759321a /libavcodec/dv.c
parent4bae195ff530b2af61179a34b004c1ac4119cff1 (diff)
downloadffmpeg-095f08d5992491c6790061db6a3f083da8a97a1a.tar.gz
some const
Originally committed as revision 11758 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 8db3226744..66c6d3c110 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -363,7 +363,7 @@ static inline void bit_copy(PutBitContext *pb, GetBitContext *gb)
/* 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 @@ static inline void dv_decode_video_segment(DVVideoContext *s,
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;