summaryrefslogtreecommitdiff
path: root/core/src/fxcodec/lbmp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/fxcodec/lbmp')
-rw-r--r--core/src/fxcodec/lbmp/fx_bmp.cpp3
-rw-r--r--core/src/fxcodec/lbmp/fx_bmp.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/core/src/fxcodec/lbmp/fx_bmp.cpp b/core/src/fxcodec/lbmp/fx_bmp.cpp
index ec7490fdd1..2a0e227e46 100644
--- a/core/src/fxcodec/lbmp/fx_bmp.cpp
+++ b/core/src/fxcodec/lbmp/fx_bmp.cpp
@@ -955,7 +955,8 @@ FX_BOOL _bmp_encode_image(bmp_compress_struct_p bmp_ptr,
case BMP_RLE4:
_bmp_encode_rle4(bmp_ptr, dst_buf, dst_size);
break;
- default:;
+ default:
+ break;
}
bmp_ptr->file_header.bfSize = dst_size;
WriteFileHeader(&bmp_ptr->file_header, dst_buf);
diff --git a/core/src/fxcodec/lbmp/fx_bmp.h b/core/src/fxcodec/lbmp/fx_bmp.h
index dc90f5f740..063b1bd757 100644
--- a/core/src/fxcodec/lbmp/fx_bmp.h
+++ b/core/src/fxcodec/lbmp/fx_bmp.h
@@ -103,7 +103,8 @@ struct tag_bmp_decompress_struct {
FX_DWORD mask_blue;
#endif
- FX_BOOL (*_bmp_get_data_position_fn)(bmp_decompress_struct_p bmp_ptr, FX_DWORD cur_pos);
+ FX_BOOL (*_bmp_get_data_position_fn)(bmp_decompress_struct_p bmp_ptr,
+ FX_DWORD cur_pos);
void (*_bmp_get_row_fn)(bmp_decompress_struct_p bmp_ptr,
int32_t row_num,
uint8_t* row_buf);