コード中の末尾の空白を削除

This commit is contained in:
tsukumijima 2021-10-24 22:40:39 +09:00
parent cb68ce1022
commit 3f2dc94c0e
7 changed files with 14 additions and 10 deletions

View File

@ -5,7 +5,11 @@ end_of_life = lf
charset = utf-8
indent_style = tab
indent_size = 2
trim_trailing_whitespace = true
[*.yml]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

@ -16,7 +16,7 @@ matrix:
- cmake
- cmake-data
- libpcsclite-dev
# Linux with LLVM C Compiler
- os: linux
compiler: clang
@ -59,7 +59,7 @@ matrix:
compiler: clang
# macOS 10.11 (Sierra)
- os: osx
- os: osx
osx_image: xcode8
compiler: clang

View File

@ -135,7 +135,7 @@ if(UNIX AND NOT CYGWIN)
install(FILES aribb25/arib_std_b25.h aribb25/b_cas_card.h aribb25/multi2.h aribb25/ts_section_parser.h aribb25/portable.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/aribb25)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}${ARIBB25_LIB_NAME}.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -DLDCONFIG_EXECUTABLE=${LDCONFIG_EXECUTABLE} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/PostInstall.cmake)")
add_custom_target(uninstall ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Uninstall.cmake)
elseif(WIN32)
install(TARGETS b25 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

4
NOTICE
View File

@ -1,8 +1,8 @@
stz2012 - libaribb25
Copyright (c)2012 stz2012 <tslroom@hotmail.com>
This product include software from MARUMO Manufacturing libaribb25 project.
* Copyright (c)2007-2012 MOGI, Kazuhiro <kazhiro@marumo.ne.jp>; All rights reserved.
MARUMO Manufacturing (https://www.marumo.ne.jp/)
MARUMO Manufacturing (https://www.marumo.ne.jp/)
Special Thanks: 2ch NoNames, eternalharvest, eru.

View File

@ -2135,7 +2135,7 @@ static int proc_ecm(DECRYPTOR_ELEM *dec, B_CAS_CARD *bcas, int32_t multi2_round)
fprintf(stderr, "\n");
fflush(stderr);
#endif
LAST:
if(sect.raw != NULL){
n = dec->ecm->ret(dec->ecm, &sect);
@ -2150,7 +2150,7 @@ static void dump_pts(uint8_t *src, int32_t crypt)
{
int32_t pts_dts_flag;
int64_t pts,dts;
src += 4; // TS ヘッダ部
src += 4; // start_code_prefix + stream_id 部
src += 2; // packet_length 部

View File

@ -201,7 +201,7 @@ const BOOL CB25Decoder::Decode(BYTE *pSrcBuf, const DWORD dwSrcSize, BYTE **ppDs
const BOOL CB25Decoder::Flush(BYTE **ppDstBuf, DWORD *pdwDstSize)
{
BOOL ret = TRUE;
if (_b25) {
int rc = _b25->flush(_b25);
ret = (rc < 0) ? FALSE : TRUE;
@ -216,7 +216,7 @@ const BOOL CB25Decoder::Flush(BYTE **ppDstBuf, DWORD *pdwDstSize)
const BOOL CB25Decoder::Reset(void)
{
BOOL ret = TRUE;
if (_b25) {
int rc = _b25->reset(_b25);
ret = (rc < 0) ? FALSE : TRUE;

View File

@ -585,7 +585,7 @@ static void run_multi2_benchmark_test(OPTION *opt)
}else{
time_percentage = -(int32_t)(totals[i]*100/base_time) - 100;
}
_ftprintf(stdout, _T(" (%3d%% faster)\n"), time_percentage);
}