mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
const
Originally committed as revision 11788 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2ab12b39cd
commit
94ef6d11ac
@ -366,13 +366,13 @@ static int wavpack_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
static int wavpack_decode_frame(AVCodecContext *avctx,
|
static int wavpack_decode_frame(AVCodecContext *avctx,
|
||||||
void *data, int *data_size,
|
void *data, int *data_size,
|
||||||
uint8_t *buf, int buf_size)
|
const uint8_t *buf, int buf_size)
|
||||||
{
|
{
|
||||||
WavpackContext *s = avctx->priv_data;
|
WavpackContext *s = avctx->priv_data;
|
||||||
int16_t *samples = data;
|
int16_t *samples = data;
|
||||||
int samplecount;
|
int samplecount;
|
||||||
int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0;
|
int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0;
|
||||||
uint8_t* buf_end = buf + buf_size;
|
const uint8_t* buf_end = buf + buf_size;
|
||||||
int i, j, id, size, ssize, weights, t;
|
int i, j, id, size, ssize, weights, t;
|
||||||
|
|
||||||
if (buf_size == 0){
|
if (buf_size == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user