# HG changeset patch # User diego # Date 1164968814 0 # Node ID e48e3a714f245f67b0c924902a799f3863f4c9f3 # Parent 41356096b2d02cf62100a4add94eba3ef3acfcfa Fix wrong flags for S16LE and S16BE audio in FLV files. patch by Allan Hsu, allan counterpop net diff -r 41356096b2d0 -r e48e3a714f24 flvenc.c --- 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;