X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavresample%2Favresample.h;h=dc392ad076ea5a526aa29d89bd4c59de4c335dac;hb=774239be717150909219ad2c0696bfb6a50cf2cb;hp=f62e53303d2eb36b50fc47e4940576b25873d325;hpb=707a07f3c2b58331482d850fbe1daad997e90ca3;p=ffmpeg diff --git a/libavresample/avresample.h b/libavresample/avresample.h index f62e53303d2..dc392ad076e 100644 --- a/libavresample/avresample.h +++ b/libavresample/avresample.h @@ -171,6 +171,14 @@ AVAudioResampleContext *avresample_alloc_context(void); */ int avresample_open(AVAudioResampleContext *avr); +/** + * Check whether an AVAudioResampleContext is open or closed. + * + * @param avr AVAudioResampleContext to check + * @return 1 if avr is open, 0 if avr is closed. + */ +int avresample_is_open(AVAudioResampleContext *avr); + /** * Close AVAudioResampleContext. *