Mercurial > libavformat.hg
changeset 3763:457a89a670cf libavformat
Remove useless empty close functions in mmf and mm demuxers.
author | reimar |
---|---|
date | Sun, 24 Aug 2008 14:02:55 +0000 |
parents | beb15b4fd4c4 |
children | 9cff515fd4c6 |
files | mm.c mmf.c |
diffstat | 2 files changed, 1 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/mm.c Sun Aug 24 13:12:41 2008 +0000 +++ b/mm.c Sun Aug 24 14:02:55 2008 +0000 @@ -175,11 +175,6 @@ 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 @@ mm_probe, mm_read_header, mm_read_packet, - mm_read_close, };
--- a/mmf.c Sun Aug 24 13:12:41 2008 +0000 +++ b/mmf.c Sun Aug 24 14:02:55 2008 +0000 @@ -290,11 +290,6 @@ return ret; } -static int mmf_read_close(AVFormatContext *s) -{ - return 0; -} - #ifdef CONFIG_MMF_DEMUXER AVInputFormat mmf_demuxer = { "mmf", @@ -303,7 +298,7 @@ mmf_probe, mmf_read_header, mmf_read_packet, - mmf_read_close, + NULL, pcm_read_seek, }; #endif