Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gr-cvsd-vocoder / src / lib / cvsd_encode_sb.cc
index 561b91c6863b24fd1065a837b995127042fe5785..df867f3ba871ab1a268fbb5afabe9e98019250a0 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2007 Free Software Foundation, Inc.
+ * Copyright 2007,2010 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
@@ -42,7 +42,7 @@ cvsd_make_encode_sb (short min_step, short max_step, double step_decay,
                     double accum_decay,  int K, int J,
                     short pos_accum_max, short neg_accum_max)
 {
-  return cvsd_encode_sb_sptr (new cvsd_encode_sb (min_step, max_step,
+  return gnuradio::get_initial_sptr(new cvsd_encode_sb (min_step, max_step,
                                                  step_decay, accum_decay, K, J,
                                                  pos_accum_max, neg_accum_max));
 }