changeset 1547:e48e3a714f24 libavformat

Fix wrong flags for S16LE and S16BE audio in FLV files. patch by Allan Hsu, allan counterpop net
author diego
date Fri, 01 Dec 2006 10:26:54 +0000
parents 41356096b2d0
children 5bb34e659b1c
files flvenc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flvenc.c	Thu Nov 30 01:00:12 2006 +0000
+++ b/flvenc.c	Fri Dec 01 10:26:54 2006 +0000
@@ -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;