Mercurial > libavcodec.hg
comparison indeo2.c @ 6218:dfdff1ca78a7 libavcodec
consts
I have underestimated this a little, and these are just some ...
author | michael |
---|---|
date | Fri, 01 Feb 2008 03:26:31 +0000 |
parents | 2b72f9bc4f06 |
children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
6217:f838213ca91b | 6218:dfdff1ca78a7 |
---|---|
134 return 0; | 134 return 0; |
135 } | 135 } |
136 | 136 |
137 static int ir2_decode_frame(AVCodecContext *avctx, | 137 static int ir2_decode_frame(AVCodecContext *avctx, |
138 void *data, int *data_size, | 138 void *data, int *data_size, |
139 uint8_t *buf, int buf_size) | 139 const uint8_t *buf, int buf_size) |
140 { | 140 { |
141 Ir2Context * const s = avctx->priv_data; | 141 Ir2Context * const s = avctx->priv_data; |
142 AVFrame *picture = data; | 142 AVFrame *picture = data; |
143 AVFrame * const p= (AVFrame*)&s->picture; | 143 AVFrame * const p= (AVFrame*)&s->picture; |
144 int start; | 144 int start; |