Mercurial > libavcodec.hg
comparison dpcm.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 | 8983530be918 |
| children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
| 6217:f838213ca91b | 6218:dfdff1ca78a7 |
|---|---|
| 157 return 0; | 157 return 0; |
| 158 } | 158 } |
| 159 | 159 |
| 160 static int dpcm_decode_frame(AVCodecContext *avctx, | 160 static int dpcm_decode_frame(AVCodecContext *avctx, |
| 161 void *data, int *data_size, | 161 void *data, int *data_size, |
| 162 uint8_t *buf, int buf_size) | 162 const uint8_t *buf, int buf_size) |
| 163 { | 163 { |
| 164 DPCMContext *s = avctx->priv_data; | 164 DPCMContext *s = avctx->priv_data; |
| 165 int in, out = 0; | 165 int in, out = 0; |
| 166 int predictor[2]; | 166 int predictor[2]; |
| 167 int channel_number = 0; | 167 int channel_number = 0; |
