summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavresample/avresample.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavresample/avresample.h')
-rw-r--r--chromium/third_party/ffmpeg/libavresample/avresample.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/third_party/ffmpeg/libavresample/avresample.h b/chromium/third_party/ffmpeg/libavresample/avresample.h
index f62e53303d2..dc392ad076e 100644
--- a/chromium/third_party/ffmpeg/libavresample/avresample.h
+++ b/chromium/third_party/ffmpeg/libavresample/avresample.h
@@ -172,6 +172,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.
*
* This closes the context, but it does not change the parameters. The context