diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-07-05 15:58:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-07-05 15:58:25 +0200 |
| commit | db3866008bf2ab1b921c44c4e3c70a909304ac84 (patch) | |
| tree | 947f73672f52ad659bd36c2cce8c04515a5f8d2c /src/lib/resampler.h | |
| parent | bb5acc8b8d783a4133b0b10285937d9151dc57c9 (diff) | |
Tidy a little and use some std::vector instead of raw arrays.
Diffstat (limited to 'src/lib/resampler.h')
| -rw-r--r-- | src/lib/resampler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 5a3a7fa40..0dbd0b491 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -41,7 +41,7 @@ public: void set_fast (); private: - SRC_STATE* _src; + SRC_STATE* _src = nullptr; int _in_rate; int _out_rate; int _channels; |
