warning vigilance

Originally committed as revision 3221 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Mike Melanson 21 years ago
parent 975af7a992
commit 3f1899a834
  1. 4
      libavcodec/flac.c

@ -565,8 +565,8 @@ static int flac_decode_frame(AVCodecContext *avctx,
{
FLACContext *s = avctx->priv_data;
int metadata_last, metadata_type, metadata_size;
int tmp = 0, i, j = 0, input_buf_size;
int16_t *samples = data, *left, *right;
int tmp = 0, i, j = 0, input_buf_size = 0;
int16_t *samples = data;
if(s->max_framesize == 0){
s->max_framesize= 8192; // should hopefully be enough for the first header

Loading…
Cancel
Save