mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Initialize "saved" buffer to zero.
Patch by Vincent Penné vpenne wyplay com and Denes Balatoni Originally committed as revision 11393 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0fd36362b8
commit
1234585fac
@ -899,7 +899,7 @@ static int vorbis_parse_id_hdr(vorbis_context *vc){
|
||||
|
||||
vc->channel_residues= av_malloc((vc->blocksize[1]/2)*vc->audio_channels * sizeof(float));
|
||||
vc->channel_floors = av_malloc((vc->blocksize[1]/2)*vc->audio_channels * sizeof(float));
|
||||
vc->saved = av_malloc((vc->blocksize[1]/2)*vc->audio_channels * sizeof(float));
|
||||
vc->saved = av_mallocz((vc->blocksize[1]/2)*vc->audio_channels * sizeof(float));
|
||||
vc->ret = av_malloc((vc->blocksize[1]/2)*vc->audio_channels * sizeof(float));
|
||||
vc->buf = av_malloc( vc->blocksize[1] * sizeof(float));
|
||||
vc->buf_tmp = av_malloc( vc->blocksize[1] * sizeof(float));
|
||||
|
Loading…
Reference in New Issue
Block a user