summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-08-24 14:02:55 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-08-24 14:02:55 +0000
commite7fd7b9aecc16150b445ddeb0baf251ef272ddbe (patch)
tree67a70d4c5078393e644a2987b5a743f26a529a3d
parentba18b99ffa8f23a761afd8097b58addc6304c86d (diff)
Remove useless empty close functions in mmf and mm demuxers.
Originally committed as revision 14944 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mm.c6
-rw-r--r--libavformat/mmf.c7
2 files changed, 1 insertions, 12 deletions
diff --git a/libavformat/mm.c b/libavformat/mm.c
index 67d2a94bbb..347d8ebac2 100644
--- a/libavformat/mm.c
+++ b/libavformat/mm.c
@@ -175,11 +175,6 @@ static int mm_read_packet(AVFormatContext *s,
return 0;
}
-static int mm_read_close(AVFormatContext *s)
-{
- return 0;
-}
-
AVInputFormat mm_demuxer = {
"mm",
NULL_IF_CONFIG_SMALL("American Laser Games MM format"),
@@ -187,5 +182,4 @@ AVInputFormat mm_demuxer = {
mm_probe,
mm_read_header,
mm_read_packet,
- mm_read_close,
};
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index 47b84e8c90..a0185c3ad4 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -290,11 +290,6 @@ static int mmf_read_packet(AVFormatContext *s,
return ret;
}
-static int mmf_read_close(AVFormatContext *s)
-{
- return 0;
-}
-
#ifdef CONFIG_MMF_DEMUXER
AVInputFormat mmf_demuxer = {
"mmf",
@@ -303,7 +298,7 @@ AVInputFormat mmf_demuxer = {
mmf_probe,
mmf_read_header,
mmf_read_packet,
- mmf_read_close,
+ NULL,
pcm_read_seek,
};
#endif