summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/amr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c
index f271750fdf..e7ae050a97 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -175,11 +175,6 @@ static int amr_read_packet(AVFormatContext *s,
return 0;
}
-static int amr_read_close(AVFormatContext *s)
-{
- return 0;
-}
-
#ifdef CONFIG_AMR_DEMUXER
AVInputFormat amr_demuxer = {
"amr",
@@ -188,7 +183,7 @@ AVInputFormat amr_demuxer = {
amr_probe,
amr_read_header,
amr_read_packet,
- amr_read_close,
+ NULL,
};
#endif