[Ffmpeg-cvslog] r7194 - trunk/libavformat/flvenc.c

diego subversion
Fri Dec 1 11:26:55 CET 2006


Author: diego
Date: Fri Dec  1 11:26:54 2006
New Revision: 7194

Modified:
   trunk/libavformat/flvenc.c

Log:
Fix wrong flags for S16LE and S16BE audio in FLV files.
patch by Allan Hsu, allan counterpop net


Modified: trunk/libavformat/flvenc.c
==============================================================================
--- trunk/libavformat/flvenc.c	(original)
+++ trunk/libavformat/flvenc.c	Fri Dec  1 11:26:54 2006
@@ -65,10 +65,10 @@
     case CODEC_ID_PCM_S8:
         break;
     case CODEC_ID_PCM_S16BE:
-        flags |= 0x60 | 0x2;
+        flags |= 0x2;
         break;
     case CODEC_ID_PCM_S16LE:
-        flags |= 0x2;
+        flags |= 0x30 | 0x2;
         break;
     case CODEC_ID_ADPCM_SWF:
         flags |= 0x10;




More information about the ffmpeg-cvslog mailing list