aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flvenc.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2007-03-03 09:16:38 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-03-03 09:16:38 +0000
commite9509536a9c92b64e1987f25acff43c7d62cd5ca (patch)
treed3a656651392e9c5d17ce2d6c4216397c20bc425 /libavformat/flvenc.c
parent43a498f20587e5878dd2623e37ea6bc1e45b918c (diff)
downloadffmpeg-e9509536a9c92b64e1987f25acff43c7d62cd5ca.tar.gz
Set FLV_SAMPLESSIZE_16BIT for ADPCM.
Originally committed as revision 8201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 8fc36b9c96..ece585d772 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -91,7 +91,7 @@ static int get_audio_flags(AVCodecContext *enc){
flags |= FLV_CODECID_PCM_LE | FLV_SAMPLESSIZE_16BIT;
break;
case CODEC_ID_ADPCM_SWF:
- flags |= FLV_CODECID_ADPCM;
+ flags |= FLV_CODECID_ADPCM | FLV_SAMPLESSIZE_16BIT;
break;
case 0:
flags |= enc->codec_tag<<4;