aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding/tch_f_decoder_impl.cc
diff options
context:
space:
mode:
authorptrkrysik <ptrkrysik@gmail.com>2015-07-06 18:48:13 +0200
committerptrkrysik <ptrkrysik@gmail.com>2015-07-06 18:48:13 +0200
commitd1312138adc8368c69799a6ba3d025c243c31ec0 (patch)
tree5712eba44c650aaa23b18b61a6810916b0525069 /lib/decoding/tch_f_decoder_impl.cc
parente9539c1fca4e7170cfb7321dd3ea183a431fa479 (diff)
Applied again bugfix for issue #65 (it was removed during one of merges)
Diffstat (limited to 'lib/decoding/tch_f_decoder_impl.cc')
-rw-r--r--lib/decoding/tch_f_decoder_impl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index 89b8520..3ec7205 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -68,6 +68,8 @@ namespace gr {
{
throw std::runtime_error("TCH/F Decoder: can't open file\n");
}
+
+ const unsigned char amr_nb_magic[6] = { 0x23, 0x21, 0x41, 0x4d, 0x52, 0x0a };
if (d_tch_mode != TCH_FS)
{