Commit e7fd7b9a authored by Reimar Döffinger's avatar Reimar Döffinger

Remove useless empty close functions in mmf and mm demuxers.

Originally committed as revision 14944 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ba18b99f
...@@ -175,11 +175,6 @@ static int mm_read_packet(AVFormatContext *s, ...@@ -175,11 +175,6 @@ static int mm_read_packet(AVFormatContext *s,
return 0; return 0;
} }
static int mm_read_close(AVFormatContext *s)
{
return 0;
}
AVInputFormat mm_demuxer = { AVInputFormat mm_demuxer = {
"mm", "mm",
NULL_IF_CONFIG_SMALL("American Laser Games MM format"), NULL_IF_CONFIG_SMALL("American Laser Games MM format"),
...@@ -187,5 +182,4 @@ AVInputFormat mm_demuxer = { ...@@ -187,5 +182,4 @@ AVInputFormat mm_demuxer = {
mm_probe, mm_probe,
mm_read_header, mm_read_header,
mm_read_packet, mm_read_packet,
mm_read_close,
}; };
...@@ -290,11 +290,6 @@ static int mmf_read_packet(AVFormatContext *s, ...@@ -290,11 +290,6 @@ static int mmf_read_packet(AVFormatContext *s,
return ret; return ret;
} }
static int mmf_read_close(AVFormatContext *s)
{
return 0;
}
#ifdef CONFIG_MMF_DEMUXER #ifdef CONFIG_MMF_DEMUXER
AVInputFormat mmf_demuxer = { AVInputFormat mmf_demuxer = {
"mmf", "mmf",
...@@ -303,7 +298,7 @@ AVInputFormat mmf_demuxer = { ...@@ -303,7 +298,7 @@ AVInputFormat mmf_demuxer = {
mmf_probe, mmf_probe,
mmf_read_header, mmf_read_header,
mmf_read_packet, mmf_read_packet,
mmf_read_close, NULL,
pcm_read_seek, pcm_read_seek,
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment