[Mplayer-cvslog] CVS: main/libmpdemux extension.c,1.3,1.4
Arpi of Ize
arpi at mplayerhq.hu
Tue Jan 28 02:18:46 CET 2003
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv9648
Modified Files:
extension.c
Log Message:
- mpeg extensions removed, it causes misdetction of renamed avi/asf files
- .mp4 added
- playlist exts removed, since DEMUX_TYPE_PLAYLIST is dummy, it will never
return demuxer!=NULL
Index: extension.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/extension.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- extension.c 24 Jan 2003 18:38:54 -0000 1.3
+++ extension.c 28 Jan 2003 01:18:43 -0000 1.4
@@ -15,12 +15,13 @@
char *extension;
int demuxer_type;
} extensions_table[] = {
- { "mpeg", DEMUXER_TYPE_MPEG_PS },
- { "mpg", DEMUXER_TYPE_MPEG_PS },
- { "mpe", DEMUXER_TYPE_MPEG_PS },
+// { "mpeg", DEMUXER_TYPE_MPEG_PS },
+// { "mpg", DEMUXER_TYPE_MPEG_PS },
+// { "mpe", DEMUXER_TYPE_MPEG_PS },
{ "vob", DEMUXER_TYPE_MPEG_PS },
{ "m2v", DEMUXER_TYPE_MPEG_PS },
{ "avi", DEMUXER_TYPE_AVI },
+ { "mp4", DEMUXER_TYPE_MOV },
{ "mov", DEMUXER_TYPE_MOV },
{ "qt", DEMUXER_TYPE_MOV },
{ "asx", DEMUXER_TYPE_ASF },
@@ -37,8 +38,8 @@
{ "wav", DEMUXER_TYPE_AUDIO },
{ "ogg", DEMUXER_TYPE_OGG },
{ "ogm", DEMUXER_TYPE_OGG },
- { "pls", DEMUXER_TYPE_PLAYLIST },
- { "m3u", DEMUXER_TYPE_PLAYLIST },
+// { "pls", DEMUXER_TYPE_PLAYLIST },
+// { "m3u", DEMUXER_TYPE_PLAYLIST },
{ "xm", DEMUXER_TYPE_XMMS },
{ "mod", DEMUXER_TYPE_XMMS },
{ "s3m", DEMUXER_TYPE_XMMS },
More information about the MPlayer-cvslog
mailing list