From e7fd7b9aecc16150b445ddeb0baf251ef272ddbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Sun, 24 Aug 2008 14:02:55 +0000 Subject: [PATCH] Remove useless empty close functions in mmf and mm demuxers. Originally committed as revision 14944 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mm.c | 6 ------ libavformat/mmf.c | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/libavformat/mm.c b/libavformat/mm.c index 67d2a94..347d8eb 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 47b84e8..a0185c3 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 -- 2.7.4