diff --git a/libavformat/aiff.h b/libavformat/aiff.h
index 392f326be9dd2dc65bee7cc94efbfb7b42e85670..2a87d6e8323edb0828225b64fb57f323cbf646f1 100644
--- a/libavformat/aiff.h
+++ b/libavformat/aiff.h
@@ -53,6 +53,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = {
     { AV_CODEC_ID_QDM2,         MKTAG('Q','D','M','2') },
     { AV_CODEC_ID_QCELP,        MKTAG('Q','c','l','p') },
     { AV_CODEC_ID_SDX2_DPCM,    MKTAG('S','D','X','2') },
+    { AV_CODEC_ID_ADPCM_IMA_WS, MKTAG('A','D','P','4') },
     { AV_CODEC_ID_NONE,         0 },
 };
 
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c
index 17c0011f99efcf2add111212ae9829b471940f4d..34b266d31e3f7a24e77cccabb07f142fe0b91eec 100644
--- a/libavformat/aiffdec.c
+++ b/libavformat/aiffdec.c
@@ -157,6 +157,7 @@ static int get_aiff_header(AVFormatContext *s, int size,
             break;
         case AV_CODEC_ID_ADPCM_G726LE:
             codec->bits_per_coded_sample = 5;
+        case AV_CODEC_ID_ADPCM_IMA_WS:
         case AV_CODEC_ID_ADPCM_G722:
         case AV_CODEC_ID_MACE6:
         case AV_CODEC_ID_SDX2_DPCM: