| Index: core/fxcodec/codec/ccodec_basicmodule.h
|
| diff --git a/core/fxcodec/codec/ccodec_basicmodule.h b/core/fxcodec/codec/ccodec_basicmodule.h
|
| index 1c3f4d1cfb8a67eaa9bdf649447ba160b6086f20..425b5d7229d84139c09a85faa80b07d1315d014e 100644
|
| --- a/core/fxcodec/codec/ccodec_basicmodule.h
|
| +++ b/core/fxcodec/codec/ccodec_basicmodule.h
|
| @@ -7,18 +7,21 @@
|
| #ifndef CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_
|
| #define CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "core/fxcrt/fx_system.h"
|
|
|
| class CCodec_ScanlineDecoder;
|
|
|
| class CCodec_BasicModule {
|
| public:
|
| - CCodec_ScanlineDecoder* CreateRunLengthDecoder(const uint8_t* src_buf,
|
| - uint32_t src_size,
|
| - int width,
|
| - int height,
|
| - int nComps,
|
| - int bpc);
|
| + std::unique_ptr<CCodec_ScanlineDecoder> CreateRunLengthDecoder(
|
| + const uint8_t* src_buf,
|
| + uint32_t src_size,
|
| + int width,
|
| + int height,
|
| + int nComps,
|
| + int bpc);
|
| };
|
|
|
| #endif // CORE_FXCODEC_CODEC_CCODEC_BASICMODULE_H_
|
|
|