Merge commit 'v3.3.1' into try-3.3.1
[debian/gnuradio] / gnuradio-core / src / lib / io / gr_wavfile_source.cc
index 900f84efd1bb2dc7fd34357fcef735132ebc54cf..d00dd3028917dd61b19e664dd55084464e4b791d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- c++ -*- */
 /*
- * Copyright 2004,2008 Free Software Foundation, Inc.
+ * Copyright 2004,2008,2010 Free Software Foundation, Inc.
  *
  * This file is part of GNU Radio
  *
@@ -52,7 +52,7 @@
 gr_wavfile_source_sptr
 gr_make_wavfile_source (const char *filename, bool repeat)
 {
-  return gr_wavfile_source_sptr (new gr_wavfile_source (filename, repeat));
+  return gnuradio::get_initial_sptr(new gr_wavfile_source (filename, repeat));
 }