Index: core/fxcodec/codec/fx_codec_progress.cpp |
diff --git a/core/fxcodec/codec/fx_codec_progress.cpp b/core/fxcodec/codec/fx_codec_progress.cpp |
index 8d29a7b3f3fbbf636e5671f531bc0ff352058295..386b66a7e6ab6e934b8d28f329d2ae3b4ac30ec5 100644 |
--- a/core/fxcodec/codec/fx_codec_progress.cpp |
+++ b/core/fxcodec/codec/fx_codec_progress.cpp |
@@ -1295,7 +1295,7 @@ bool CCodec_ProgressiveDecoder::DetectImageType(FXCODEC_IMAGE_TYPE imageType, |
} |
FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo( |
- IFX_SeekableReadStream* pFile, |
+ const CFX_RetainPtr<IFX_SeekableReadStream>& pFile, |
FXCODEC_IMAGE_TYPE imageType, |
CFX_DIBAttribute* pAttribute, |
bool bSkipImageTypeCheck) { |