[FFmpeg-devel] [PATCH]Use M4S2 as default vtag for ASP in asf
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Oct 5 22:54:50 CEST 2011
Hi!
Attached patch allows WMP to play asf files encoded with -vcodec mpeg4.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 109d283..55d1871 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -215,8 +215,8 @@ typedef struct {
} ASFContext;
static const AVCodecTag codec_asf_bmp_tags[] = {
- { CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') },
{ CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') },
+ { CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') },
{ CODEC_ID_MSMPEG4V3, MKTAG('M', 'P', '4', '3') },
{ CODEC_ID_NONE, 0 },
};
More information about the ffmpeg-devel
mailing list