refine Constructor

This commit is contained in:
jinjunzh 2023-11-29 20:17:08 -05:00
parent 1402829c6a
commit 54f73d844e

View File

@ -390,8 +390,8 @@ void SoftwareCodecDeflateQpl::doDecompressData(const char * source, UInt32 sourc
CompressionCodecDeflateQpl::CompressionCodecDeflateQpl()
: sw_codec(std::make_unique<SoftwareCodecDeflateQpl>())
, hw_codec(std::make_unique<HardwareCodecDeflateQpl>(*sw_codec))
{
hw_codec = std::make_unique<HardwareCodecDeflateQpl>(*sw_codec);
setCodecDescription("DEFLATE_QPL");
}