Ensure outputFifo is correctly initialized to null. Fixes #328

This commit is contained in:
casey langen 2020-03-28 11:50:31 -07:00
parent 80759fea7d
commit b82e4b4d65

View File

@ -134,6 +134,7 @@ FfmpegDecoder::FfmpegDecoder() {
this->resampler = nullptr;
this->bufferSize = AV_INPUT_BUFFER_PADDING_SIZE + BUFFER_SIZE;
this->buffer = new unsigned char[this->bufferSize];
this->outputFifo = nullptr;
}
FfmpegDecoder::~FfmpegDecoder() {