Merge commit 'ac976ed91e'
* commit 'ac976ed91e':
lavr: allocate the resampling buffer with a positive size
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
c11aa9d29a
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ int avresample_open(AVAudioResampleContext *avr)
|
|||
}
|
||||
if (avr->resample_needed) {
|
||||
avr->resample_out_buffer = ff_audio_data_alloc(avr->out_channels,
|
||||
0, avr->internal_sample_fmt,
|
||||
1024, avr->internal_sample_fmt,
|
||||
"resample_out_buffer");
|
||||
if (!avr->resample_out_buffer) {
|
||||
ret = AVERROR(EINVAL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue