# HG changeset patch # User arpi # Date 1043716723 0 # Node ID f033fdd54da32ba33dd2e9c604b40c53a0b644c9 # Parent a45282d6ad32aa0622da0f9064b0e30aef1c9b5f - 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 diff -r a45282d6ad32 -r f033fdd54da3 libmpdemux/extension.c --- a/libmpdemux/extension.c Tue Jan 28 01:02:07 2003 +0000 +++ b/libmpdemux/extension.c Tue Jan 28 01:18:43 2003 +0000 @@ -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 },