diff options
author | Allan Hsu <allan@counterpop.net> | 2006-12-01 10:26:54 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-12-01 10:26:54 +0000 |
commit | 56cca5f10c5dbb81c59f913d7fcb991929fad02a (patch) | |
tree | 4e06a58e60ff59822e5e75e28cc6b7d0b8de6183 /libavformat/flvenc.c | |
parent | c9cac6e3d7ad96fc18b6bb2657dcabdbbe56343c (diff) | |
download | ffmpeg-56cca5f10c5dbb81c59f913d7fcb991929fad02a.tar.gz |
Fix wrong flags for S16LE and S16BE audio in FLV files.
patch by Allan Hsu, allan counterpop net
Originally committed as revision 7194 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r-- | libavformat/flvenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 82485ceff8..0b09d98308 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -65,10 +65,10 @@ static int get_audio_flags(AVCodecContext *enc){ 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; |