mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '211ca69b13eb0a127a9ef7e70ddaccdab125d1c5'
* commit '211ca69b13eb0a127a9ef7e70ddaccdab125d1c5': lavr: check that current_buffer is not NULL before using it Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b96dddd344
@ -438,7 +438,8 @@ int attribute_align_arg avresample_convert(AVAudioResampleContext *avr,
|
|||||||
resample_out = &output_buffer;
|
resample_out = &output_buffer;
|
||||||
else
|
else
|
||||||
resample_out = avr->resample_out_buffer;
|
resample_out = avr->resample_out_buffer;
|
||||||
av_dlog(avr, "[resample] %s to %s\n", current_buffer->name,
|
av_dlog(avr, "[resample] %s to %s\n",
|
||||||
|
current_buffer ? current_buffer->name : "null",
|
||||||
resample_out->name);
|
resample_out->name);
|
||||||
ret = ff_audio_resample(avr->resample, resample_out,
|
ret = ff_audio_resample(avr->resample, resample_out,
|
||||||
current_buffer);
|
current_buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user