OSDN Git Service

also remove c93_ prefix for static function in the c93 demuxer
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Apr 2007 09:50:08 +0000 (09:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 8 Apr 2007 09:50:08 +0000 (09:50 +0000)
Originally committed as revision 8676 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/c93.c

index 86f1253..89838d5 100644 (file)
@@ -42,7 +42,7 @@ typedef struct {
     AVStream *audio;
 } C93DemuxContext;
 
-static int c93_probe(AVProbeData *p)
+static int probe(AVProbeData *p)
 {
     if (p->buf_size < 13)
         return 0;
@@ -56,7 +56,7 @@ static int c93_probe(AVProbeData *p)
     return 0;
 }
 
-static int c93_read_header(AVFormatContext *s,
+static int read_header(AVFormatContext *s,
                            AVFormatParameters *ap)
 {
     AVStream *video;
@@ -103,7 +103,7 @@ static int c93_read_header(AVFormatContext *s,
 #define C93_HAS_PALETTE 0x01
 #define C93_FIRST_FRAME 0x02
 
-static int c93_read_packet(AVFormatContext *s, AVPacket *pkt)
+static int read_packet(AVFormatContext *s, AVPacket *pkt)
 {
     ByteIOContext *pb = &s->pb;
     C93DemuxContext *c93 = s->priv_data;
@@ -196,7 +196,7 @@ AVInputFormat c93_demuxer = {
     "c93",
     "Interplay C93",
     sizeof(C93DemuxContext),
-    c93_probe,
-    c93_read_header,
-    c93_read_packet,
+    probe,
+    read_header,
+    read_packet,
 };