[FFmpeg-cvslog] Never use MP3 as default audio codec for asf.

ami_stuff git at videolan.org
Fri Nov 11 23:50:08 CET 2011


ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Fri Nov 11 23:47:34 2011 +0100| [ef4f4031590e2f80d7c03dd5047d374692cba614] | committer: Carl Eugen Hoyos

Never use MP3 as default audio codec for asf.

Some Windows versions do not ship an appropriate MP3 decoder.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef4f4031590e2f80d7c03dd5047d374692cba614
---

 libavformat/asfenc.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 092fa40..0b084c0 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -883,11 +883,7 @@ AVOutputFormat ff_asf_muxer = {
     .mime_type      = "video/x-ms-asf",
     .extensions     = "asf,wmv,wma",
     .priv_data_size = sizeof(ASFContext),
-#if CONFIG_LIBMP3LAME
-    .audio_codec    = CODEC_ID_MP3,
-#else
     .audio_codec    = CODEC_ID_WMAV2,
-#endif
     .video_codec    = CODEC_ID_MSMPEG4V3,
     .write_header   = asf_write_header,
     .write_packet   = asf_write_packet,
@@ -904,11 +900,7 @@ AVOutputFormat ff_asf_stream_muxer = {
     .mime_type      = "video/x-ms-asf",
     .extensions     = "asf,wmv,wma",
     .priv_data_size = sizeof(ASFContext),
-#if CONFIG_LIBMP3LAME
-    .audio_codec    = CODEC_ID_MP3,
-#else
     .audio_codec    = CODEC_ID_WMAV2,
-#endif
     .video_codec    = CODEC_ID_MSMPEG4V3,
     .write_header   = asf_write_stream_header,
     .write_packet   = asf_write_packet,



More information about the ffmpeg-cvslog mailing list