mirror of
https://github.com/xenia-project/xenia.git
synced 2026-01-03 15:20:04 +01:00
Initialize pointers to nullptr
This commit is contained in:
parent
3389b9e421
commit
866a5af427
|
|
@ -22,8 +22,8 @@ extern "C" {
|
|||
namespace xe {
|
||||
namespace apu {
|
||||
|
||||
AudioDecoder::AudioDecoder() : offset_(0) {
|
||||
}
|
||||
AudioDecoder::AudioDecoder() : offset_(0), codec_(nullptr), context_(nullptr),
|
||||
decoded_frame_(nullptr), packet_(nullptr) {}
|
||||
|
||||
AudioDecoder::~AudioDecoder() {
|
||||
if (context_) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue