changeset 5797:e0e1ddbfca1a libavformat

Remove static function name prefixes from American Laser Games MM demuxer
author pross
date Tue, 09 Mar 2010 12:37:13 +0000
parents a8bf262a9302
children 2af44abfbfe8
files mm.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mm.c	Tue Mar 09 12:32:08 2010 +0000
+++ b/mm.c	Tue Mar 09 12:37:13 2010 +0000
@@ -56,7 +56,7 @@
   unsigned int audio_pts, video_pts;
 } MmDemuxContext;
 
-static int mm_probe(AVProbeData *p)
+static int probe(AVProbeData *p)
 {
     int len, type, fps, w, h;
     if (p->buf_size < MM_HEADER_LEN_AV + MM_PREAMBLE_SIZE)
@@ -80,7 +80,7 @@
     return AVPROBE_SCORE_MAX / 2;
 }
 
-static int mm_read_header(AVFormatContext *s,
+static int read_header(AVFormatContext *s,
                            AVFormatParameters *ap)
 {
     MmDemuxContext *mm = s->priv_data;
@@ -133,7 +133,7 @@
     return 0;
 }
 
-static int mm_read_packet(AVFormatContext *s,
+static int read_packet(AVFormatContext *s,
                            AVPacket *pkt)
 {
     MmDemuxContext *mm = s->priv_data;
@@ -192,7 +192,7 @@
     "mm",
     NULL_IF_CONFIG_SMALL("American Laser Games MM format"),
     sizeof(MmDemuxContext),
-    mm_probe,
-    mm_read_header,
-    mm_read_packet,
+    probe,
+    read_header,
+    read_packet,
 };