[MPlayer-cvslog] r22990 - in trunk/libmpdemux: demux_lavf.c extension.c
reimar
subversion at mplayerhq.hu
Sat Apr 14 12:07:36 CEST 2007
Author: reimar
Date: Sat Apr 14 12:07:36 2007
New Revision: 22990
Modified:
trunk/libmpdemux/demux_lavf.c
trunk/libmpdemux/extension.c
Log:
Use lavf_preferred mechanism to replace more extension-based detection hacks
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c (original)
+++ trunk/libmpdemux/demux_lavf.c Sat Apr 14 12:07:36 2007
@@ -218,6 +218,8 @@ static const char *preferred_list[] = {
"nut",
"gxf",
"mxf",
+ "flv",
+ "swf",
NULL
};
Modified: trunk/libmpdemux/extension.c
==============================================================================
--- trunk/libmpdemux/extension.c (original)
+++ trunk/libmpdemux/extension.c Sat Apr 14 12:07:36 2007
@@ -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 },
More information about the MPlayer-cvslog
mailing list