Mercurial > audlegacy-plugins
comparison src/ffmpeg/libavcodec/shorten.c @ 830:68562d99230f trunk
[svn] - more symbol cleanups.
author | nenolod |
---|---|
date | Mon, 12 Mar 2007 15:23:10 -0700 |
parents | e8776388b02a |
children |
comparison
equal
deleted
inserted
replaced
829:1c250e20c6e3 | 830:68562d99230f |
---|---|
273 ShortenContext *s = avctx->priv_data; | 273 ShortenContext *s = avctx->priv_data; |
274 int i, input_buf_size = 0; | 274 int i, input_buf_size = 0; |
275 int16_t *samples = data; | 275 int16_t *samples = data; |
276 if(s->max_framesize == 0){ | 276 if(s->max_framesize == 0){ |
277 s->max_framesize= 1024; // should hopefully be enough for the first header | 277 s->max_framesize= 1024; // should hopefully be enough for the first header |
278 s->bitstream= av_fast_realloc(s->bitstream, &s->allocated_bitstream_size, s->max_framesize); | 278 s->bitstream= av_realloc(s->bitstream, s->max_framesize); |
279 } | 279 } |
280 | 280 |
281 if(1 && s->max_framesize){//FIXME truncated | 281 if(1 && s->max_framesize){//FIXME truncated |
282 buf_size= FFMIN(buf_size, s->max_framesize - s->bitstream_size); | 282 buf_size= FFMIN(buf_size, s->max_framesize - s->bitstream_size); |
283 input_buf_size= buf_size; | 283 input_buf_size= buf_size; |