summaryrefslogtreecommitdiff
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 54e06e1d00..7076650106 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -251,6 +251,10 @@ av_cold void swr_free(SwrContext **ss){
av_freep(ss);
}
+av_cold void swr_close(SwrContext *s){
+ clear_context(s);
+}
+
av_cold int swr_init(struct SwrContext *s){
int ret;