Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Hsu <allan@counterpop.net>2006-12-01 13:26:54 +0300
committerDiego Biurrun <diego@biurrun.de>2006-12-01 13:26:54 +0300
commit56cca5f10c5dbb81c59f913d7fcb991929fad02a (patch)
tree4e06a58e60ff59822e5e75e28cc6b7d0b8de6183 /libavformat/flvenc.c
parentc9cac6e3d7ad96fc18b6bb2657dcabdbbe56343c (diff)
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.c4
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;