projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9cac6e
)
Fix wrong flags for S16LE and S16BE audio in FLV files.
author
Allan Hsu
<allan@counterpop.net>
Fri, 1 Dec 2006 10:26:54 +0000
(10:26 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 1 Dec 2006 10:26:54 +0000
(10:26 +0000)
patch by Allan Hsu, allan counterpop net
Originally committed as revision 7194 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/flvenc.c
patch
|
blob
|
history
diff --git
a/libavformat/flvenc.c
b/libavformat/flvenc.c
index 82485ceff8b55ead839c74b1c472bf7f5fb62f91..0b09d98308832c1e3abb729271eecf90248a796e 100644
(file)
--- 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 |= 0x
60 | 0x
2;
+ flags |= 0x2;
break;
case CODEC_ID_PCM_S16LE:
- flags |= 0x2;
+ flags |= 0x
30 | 0x
2;
break;
case CODEC_ID_ADPCM_SWF:
flags |= 0x10;