Portability fix: replacing tables of variable size with memory allocations
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index 1f22cf2..02dc45a 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -388,7 +388,7 @@
 
                 if (good)
                 {
-                    unsigned char frameBuffer[mAMRFrameLth];
+                    unsigned char * frameBuffer = new unsigned char [mAMRFrameLth];
                     // AMR Frame, consisting of a 8 bit frame header, plus the payload from decoding
                     BitVector amrFrame(mKd + 8);
                     BitVector payload = amrFrame.tail(8);
@@ -402,6 +402,7 @@
                     mTCHD.copyTo(payload);
                     amrFrame.pack(frameBuffer);
                     message_port_pub(pmt::mp("voice"), pmt::cons(pmt::PMT_NIL, pmt::make_blob(frameBuffer,mAMRFrameLth)));
+					delete[] frameBuffer;
                 }
             }
         }