Fix a number of multistream decoder bugs; add some very basic multistream decoder tests.
diff --git a/include/opus_multistream.h b/include/opus_multistream.h
index 78c1b0f..1fdb881 100644
--- a/include/opus_multistream.h
+++ b/include/opus_multistream.h
@@ -89,6 +89,14 @@
       int max_data_bytes        /**< Allocated memory for payload; don't use for controlling bitrate */
   );
 
+/** Gets the size of an OpusMSEncoder structure.
+  * @returns size
+  */
+OPUS_EXPORT opus_int32 opus_multistream_encoder_get_size(
+      int streams,              /**< Total number of coded streams */
+      int coupled_streams       /**< Number of coupled (stereo) streams */
+);
+
 /** Deallocate a multstream encoder state */
 OPUS_EXPORT void opus_multistream_encoder_destroy(OpusMSEncoder *st);
 
@@ -139,6 +147,13 @@
                                 /**< decoded. If no such data is available the frame is decoded as if it were lost. */
 );
 
+/** Gets the size of an OpusMSDecoder structure.
+  * @returns size
+  */
+OPUS_EXPORT opus_int32 opus_multistream_decoder_get_size(
+      int streams,              /**< Total number of coded streams */
+      int coupled_streams       /**< Number of coupled (stereo) streams */
+);
 
 /** Get or set options on a multistream decoder state */
 OPUS_EXPORT int opus_multistream_decoder_ctl(OpusMSDecoder *st, int request, ...);