mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 17:06:36 +00:00
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:
parent
ba18b99ffa
commit
e7fd7b9aec
@ -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,
|
||||
};
|
||||
|
@ -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…
Reference in New Issue
Block a user