Use lavf_preferred mechanism to replace more extension-based detection hacks

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22990 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-04-14 10:07:36 +00:00
parent ef91f5aad8
commit 720fa4936a
2 changed files with 2 additions and 4 deletions

View File

@ -218,6 +218,8 @@ static const char *preferred_list[] = {
"nut",
"gxf",
"mxf",
"flv",
"swf",
NULL
};

View File

@ -20,8 +20,6 @@ static struct {
// { "mpe", DEMUXER_TYPE_MPEG_PS },
{ "vob", DEMUXER_TYPE_MPEG_PS },
{ "m2v", DEMUXER_TYPE_MPEG_PS },
{ "gxf", DEMUXER_TYPE_LAVF },
{ "mxf", DEMUXER_TYPE_LAVF },
{ "avi", DEMUXER_TYPE_AVI },
{ "mp4", DEMUXER_TYPE_MOV },
{ "mov", DEMUXER_TYPE_MOV },
@ -57,8 +55,6 @@ static struct {
#ifdef USE_WIN32DLL
{ "avs", DEMUXER_TYPE_AVS },
#endif
{ "swf", DEMUXER_TYPE_LAVF },
{ "flv", DEMUXER_TYPE_LAVF },
{ "302", DEMUXER_TYPE_LAVF },
{ "264", DEMUXER_TYPE_H264_ES },
{ "26l", DEMUXER_TYPE_H264_ES },