Merge commit '7e86c27b4e
'
* commit '7e86c27b4e
':
lavr: add a function for checking whether AVAudioResampleContext is open
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
5367c0be62
4 changed files with 17 additions and 1 deletions
|
@ -254,6 +254,11 @@ error:
|
|||
return ret;
|
||||
}
|
||||
|
||||
int avresample_is_open(AVAudioResampleContext *avr)
|
||||
{
|
||||
return !!avr->out_fifo;
|
||||
}
|
||||
|
||||
void avresample_close(AVAudioResampleContext *avr)
|
||||
{
|
||||
ff_audio_data_free(&avr->in_buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue