Prefer ADPM_SWF instead NONE if no MP3 encoding is compiled in.
authorAlex Beregszaszi <alex@rtfs.hu>
Thu, 15 Nov 2007 23:53:19 +0000 (23:53 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Thu, 15 Nov 2007 23:53:19 +0000 (23:53 +0000)
Originally committed as revision 11042 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/flvenc.c

index 3a5f5ec..2adc303 100644 (file)
@@ -330,7 +330,7 @@ AVOutputFormat flv_muxer = {
 #ifdef CONFIG_LIBMP3LAME
     CODEC_ID_MP3,
 #else // CONFIG_LIBMP3LAME
-    CODEC_ID_NONE,
+    CODEC_ID_ADPCM_SWF,
 #endif // CONFIG_LIBMP3LAME
     CODEC_ID_FLV1,
     flv_write_header,