diff --git a/libavformat/wv.c b/libavformat/wv.c
index 953955412d773e37c7b2a71a3f70982f4ee7b1f8..eddd32148ad76dc65100773937087cabfa099d46 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -187,11 +187,6 @@ static int wv_read_packet(AVFormatContext *s,
     return 0;
 }
 
-static int wv_read_close(AVFormatContext *s)
-{
-    return 0;
-}
-
 static int wv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 {
     AVStream *st = s->streams[stream_index];
@@ -231,6 +226,6 @@ AVInputFormat wv_demuxer = {
     wv_probe,
     wv_read_header,
     wv_read_packet,
-    wv_read_close,
+    NULL,
     wv_read_seek,
 };