comparison flac.c @ 6235:d1caba97fc63 libavcodec

const
author michael
date Fri, 01 Feb 2008 04:14:46 +0000
parents 75804d49f33b
children 931ca319f2fe
comparison
equal deleted inserted replaced
6234:5d82b4e8a7f3 6235:d1caba97fc63
588 return 0; 588 return 0;
589 } 589 }
590 590
591 static int flac_decode_frame(AVCodecContext *avctx, 591 static int flac_decode_frame(AVCodecContext *avctx,
592 void *data, int *data_size, 592 void *data, int *data_size,
593 uint8_t *buf, int buf_size) 593 const uint8_t *buf, int buf_size)
594 { 594 {
595 FLACContext *s = avctx->priv_data; 595 FLACContext *s = avctx->priv_data;
596 int tmp = 0, i, j = 0, input_buf_size = 0; 596 int tmp = 0, i, j = 0, input_buf_size = 0;
597 int16_t *samples = data; 597 int16_t *samples = data;
598 int alloc_data_size= *data_size; 598 int alloc_data_size= *data_size;