mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-08-17 14:55:06 +02:00
warning vigilance
Originally committed as revision 3221 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
975af7a992
commit
3f1899a834
@ -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…
Reference in New Issue
Block a user