Mercurial > libavcodec.hg
comparison adx.c @ 1569:1f8d1e1173d8 libavcodec
Fixes GCC 3.3.2 warnings patch by (Panagiotis Issaris <takis at lumumba dot luc dot ac dot be>)
author | michael |
---|---|
date | Fri, 24 Oct 2003 20:09:30 +0000 |
parents | 5bdf2017d854 |
children | 932d306bf1dc |
comparison
equal
deleted
inserted
replaced
1568:c5ec7ac5c053 | 1569:1f8d1e1173d8 |
---|---|
211 | 211 |
212 return 0; | 212 return 0; |
213 } | 213 } |
214 | 214 |
215 static int adx_encode_frame(AVCodecContext *avctx, | 215 static int adx_encode_frame(AVCodecContext *avctx, |
216 unsigned char *frame, int buf_size, const void *data) | 216 uint8_t *frame, int buf_size, void *data) |
217 { | 217 { |
218 ADXContext *c = avctx->priv_data; | 218 ADXContext *c = avctx->priv_data; |
219 const short *samples = data; | 219 const short *samples = data; |
220 unsigned char *dst = frame; | 220 unsigned char *dst = frame; |
221 int rest = avctx->frame_size; | 221 int rest = avctx->frame_size; |
324 } | 324 } |
325 printf("\n"); | 325 printf("\n"); |
326 } | 326 } |
327 static int adx_decode_frame(AVCodecContext *avctx, | 327 static int adx_decode_frame(AVCodecContext *avctx, |
328 void *data, int *data_size, | 328 void *data, int *data_size, |
329 const uint8_t *buf0, int buf_size) | 329 uint8_t *buf0, int buf_size) |
330 { | 330 { |
331 ADXContext *c = avctx->priv_data; | 331 ADXContext *c = avctx->priv_data; |
332 short *samples = data; | 332 short *samples = data; |
333 const uint8_t *buf = buf0; | 333 const uint8_t *buf = buf0; |
334 int rest = buf_size; | 334 int rest = buf_size; |