[FFmpeg-cvslog] r14944 - in trunk/libavformat: mm.c mmf.c

reimar subversion
Sun Aug 24 16:02:55 CEST 2008


Author: reimar
Date: Sun Aug 24 16:02:55 2008
New Revision: 14944

Log:
Remove useless empty close functions in mmf and mm demuxers.


Modified:
   trunk/libavformat/mm.c
   trunk/libavformat/mmf.c

Modified: trunk/libavformat/mm.c
==============================================================================
--- trunk/libavformat/mm.c	(original)
+++ trunk/libavformat/mm.c	Sun Aug 24 16:02:55 2008
@@ -175,11 +175,6 @@ static int mm_read_packet(AVFormatContex
     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,
 };

Modified: trunk/libavformat/mmf.c
==============================================================================
--- trunk/libavformat/mmf.c	(original)
+++ trunk/libavformat/mmf.c	Sun Aug 24 16:02:55 2008
@@ -290,11 +290,6 @@ static int mmf_read_packet(AVFormatConte
     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




More information about the ffmpeg-cvslog mailing list