Browse Source

Remove useless empty close functions in mmf and mm demuxers.

Originally committed as revision 14944 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger 17 years ago
parent
commit
e7fd7b9aec
2 changed files with 1 additions and 12 deletions
  1. +0
    -6
      libavformat/mm.c
  2. +1
    -6
      libavformat/mmf.c

+ 0
- 6
libavformat/mm.c 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,
};

+ 1
- 6
libavformat/mmf.c 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


Loading…
Cancel
Save