diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 8fc36b9c96223e3b490218e9d6cd6e619ec727c4..ece585d77220e1003dff4682dcbfe12293305480 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;