Skip to content

Commit

Permalink
Fix MSVC compiler warnings about non-ASCII characters in the source
Browse files Browse the repository at this point in the history
Best not to use non-ASCII/UTF-8 characters in source code.

Fixes compiler warnings with MSVC on windows:

wels_common_basis.h: warning C4828: The file contains a character
 starting at offset 0x26b1 that is illegal in the current source
 character set (codepage 65001).

wels_common_basis.h: warning C4828: The file contains a character
 starting at offset 0x2797 that is illegal in the current source
 character set (codepage 65001).
  • Loading branch information
tp-m committed May 31, 2020
1 parent e113d39 commit 7368cc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codec/decoder/core/inc/wels_common_basis.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,15 @@ static const SPartMbInfo g_ksInterBMbTypeInfo[] = {
{ MB_TYPE_8x8 | MB_TYPE_P0L0 | MB_TYPE_P0L1 | MB_TYPE_P1L0 | MB_TYPE_P1L1, 4, 4 } //B_8x8
};

//Table 7.17 – Sub-macroblock types in B macroblocks.
//Table 7.17 Sub-macroblock types in B macroblocks.
static const SPartMbInfo g_ksInterPSubMbTypeInfo[4] = {
{SUB_MB_TYPE_8x8, 1, 2},
{SUB_MB_TYPE_8x4, 2, 2},
{SUB_MB_TYPE_4x8, 2, 1},
{SUB_MB_TYPE_4x4, 4, 1},
};

//Table 7.18 – Sub-macroblock types in B macroblocks.
//Table 7.18 Sub-macroblock types in B macroblocks.
static const SPartMbInfo g_ksInterBSubMbTypeInfo[] = {
{ MB_TYPE_DIRECT, 1, 2 }, //B_Direct_8x8
{ SUB_MB_TYPE_8x8 | MB_TYPE_P0L0, 1, 2 }, //B_L0_8x8
Expand Down

0 comments on commit 7368cc8

Please sign in to comment.