summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/codec
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcodec/codec')
-rw-r--r--core/src/fxcodec/codec/fx_codec_icc.cpp6
-rw-r--r--core/src/fxcodec/codec/fx_codec_progress.cpp12
2 files changed, 12 insertions, 6 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_icc.cpp b/core/src/fxcodec/codec/fx_codec_icc.cpp
index c2129eaef2..297f392a30 100644
--- a/core/src/fxcodec/codec/fx_codec_icc.cpp
+++ b/core/src/fxcodec/codec/fx_codec_icc.cpp
@@ -424,11 +424,13 @@ void* CCodec_IccModule::CreateProfile(ICodec_IccModule::IccParam* pIccParam,
case IccCS_Gray:
text.Format("%lf", pIccParam->Gamma);
break;
- default:;
+ default:
+ break;
}
MD5ComputeID(text.GetBuffer(0), text.GetLength(), ID);
break;
- default:;
+ default:
+ break;
}
key.AppendBlock(ID, 16);
CFX_ByteString ProfileKey(key.GetBuffer(), key.GetSize());
diff --git a/core/src/fxcodec/codec/fx_codec_progress.cpp b/core/src/fxcodec/codec/fx_codec_progress.cpp
index 1b46c4eb22..fbbfaaf0fa 100644
--- a/core/src/fxcodec/codec/fx_codec_progress.cpp
+++ b/core/src/fxcodec/codec/fx_codec_progress.cpp
@@ -1258,7 +1258,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo(
case FXCODEC_STATUS_DECODE_READY:
case FXCODEC_STATUS_DECODE_TOBECONTINUE:
return FXCODEC_STATUS_ERROR;
- default:;
+ default:
+ break;
}
if (pFile == NULL) {
m_status = FXCODEC_STATUS_ERR_PARAMS;
@@ -1821,7 +1822,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::GetFrames(int32_t& frames,
return m_status = FXCODEC_STATUS_ERROR;
}
} break;
- default:;
+ default:
+ break;
}
return FXCODEC_STATUS_ERROR;
}
@@ -2219,7 +2221,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) {
case FXDIB_Argb:
pFormatBitmap = pClipBitmap;
break;
- default:;
+ default:
+ break;
}
switch (m_pDeviceBitmap->GetFormat()) {
case FXDIB_8bppRgb:
@@ -2257,7 +2260,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) {
}
}
} break;
- default:;
+ default:
+ break;
}
if (pClipBitmap != pFormatBitmap) {
delete pClipBitmap;