Set FLV_SAMPLESSIZE_16BIT for ADPCM.
authorBenjamin Larsson <banan@ludd.ltu.se>
Sat, 3 Mar 2007 09:16:38 +0000 (09:16 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sat, 3 Mar 2007 09:16:38 +0000 (09:16 +0000)
Originally committed as revision 8201 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/flvenc.c

index 8fc36b9..ece585d 100644 (file)
@@ -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;