summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/codec/fx_codec_progress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcodec/codec/fx_codec_progress.cpp')
-rw-r--r--core/src/fxcodec/codec/fx_codec_progress.cpp12
1 files changed, 8 insertions, 4 deletions
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;