Commit fb6a32c3 authored by Peter Ross's avatar Peter Ross

Remove static function name prefixes from American Laser Games MM demuxer

Originally committed as revision 22390 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cc4e8b12
...@@ -56,7 +56,7 @@ typedef struct { ...@@ -56,7 +56,7 @@ typedef struct {
unsigned int audio_pts, video_pts; unsigned int audio_pts, video_pts;
} MmDemuxContext; } MmDemuxContext;
static int mm_probe(AVProbeData *p) static int probe(AVProbeData *p)
{ {
int len, type, fps, w, h; int len, type, fps, w, h;
if (p->buf_size < MM_HEADER_LEN_AV + MM_PREAMBLE_SIZE) if (p->buf_size < MM_HEADER_LEN_AV + MM_PREAMBLE_SIZE)
...@@ -80,7 +80,7 @@ static int mm_probe(AVProbeData *p) ...@@ -80,7 +80,7 @@ static int mm_probe(AVProbeData *p)
return AVPROBE_SCORE_MAX / 2; return AVPROBE_SCORE_MAX / 2;
} }
static int mm_read_header(AVFormatContext *s, static int read_header(AVFormatContext *s,
AVFormatParameters *ap) AVFormatParameters *ap)
{ {
MmDemuxContext *mm = s->priv_data; MmDemuxContext *mm = s->priv_data;
...@@ -133,7 +133,7 @@ static int mm_read_header(AVFormatContext *s, ...@@ -133,7 +133,7 @@ static int mm_read_header(AVFormatContext *s,
return 0; return 0;
} }
static int mm_read_packet(AVFormatContext *s, static int read_packet(AVFormatContext *s,
AVPacket *pkt) AVPacket *pkt)
{ {
MmDemuxContext *mm = s->priv_data; MmDemuxContext *mm = s->priv_data;
...@@ -192,7 +192,7 @@ AVInputFormat mm_demuxer = { ...@@ -192,7 +192,7 @@ AVInputFormat mm_demuxer = {
"mm", "mm",
NULL_IF_CONFIG_SMALL("American Laser Games MM format"), NULL_IF_CONFIG_SMALL("American Laser Games MM format"),
sizeof(MmDemuxContext), sizeof(MmDemuxContext),
mm_probe, probe,
mm_read_header, read_header,
mm_read_packet, read_packet,
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment