diff --git a/libavformat/aiff.c b/libavformat/aiff.c
index a068ad3e69ed1fafc3662ebfc44d7c74bd6298f7..c3a245e570d748cdf7fe46c55592d2bca7fc49d4 100644
--- a/libavformat/aiff.c
+++ b/libavformat/aiff.c
@@ -414,11 +414,6 @@ static int aiff_read_packet(AVFormatContext *s,
     return 0;
 }
 
-static int aiff_read_close(AVFormatContext *s)
-{
-    return 0;
-}
-
 static int aiff_read_seek(AVFormatContext *s,
                           int stream_index, int64_t timestamp, int flags)
 {
@@ -433,7 +428,7 @@ AVInputFormat aiff_demuxer = {
     aiff_probe,
     aiff_read_header,
     aiff_read_packet,
-    aiff_read_close,
+    NULL,
     aiff_read_seek,
     .codec_tag= (const AVCodecTag*[]){codec_aiff_tags, 0},
 };