diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7ff12d9aa41138c8f7c39e15145e8e58fecc7736..01e71af61413bda7791b9b5d36ab894420290578 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1874,6 +1874,7 @@ void audio_resample_close(ReSampleContext *s);
 struct AVResampleContext *av_resample_init(int out_rate, int in_rate);
 int av_resample(struct AVResampleContext *c, short *dst, short *src, int *consumed, int src_size, int dst_size, int update_ctx);
 void av_resample_compensate(struct AVResampleContext *c, int sample_delta, int compensation_distance);
+void av_resample_close(struct AVResampleContext *c);
 
 /* YUV420 format is assumed ! */