Remove useless empty close functions in mmf and mm demuxers.

Originally committed as revision 14944 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2008-08-24 14:02:55 +00:00
parent ba18b99ffa
commit e7fd7b9aec
2 changed files with 1 additions and 12 deletions

View File

@ -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,
};

View File

@ -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