Fixed missing magic bytes for GSM-EFR output file
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index 75d2402..5601c00 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -57,6 +57,11 @@
             throw std::runtime_error("TCH/F Decoder: can't open file\n");
         }
 
+        if (d_tch_mode == MODE_SPEECH_EFR)
+        {
+            fwrite(amr_nb_magic, 1, 6, d_speech_file);
+        }
+
         int j, k, B;
         for (k = 0; k < CONV_SIZE; k++)
         {