[vlc-devel] [PATCH 1/2] freetype: fix subtitle text does not show correctly on OS/2
Francois Cartegnie
fcvlcdev at free.fr
Sat Apr 17 21:28:19 UTC 2021
Le 05/03/2021 à 13:22, KO Myung-Hun a écrit :
>>
>
> Ok, fixed.
>
+ psz_ucs2 = ( uint16_t * )psz_ucs4;
+ i_len = i_ucs4_bytes / sizeof( *psz_ucs4 );
+ /* Copy including NULL-terminator */
+ for( int i = i_len; i >= 0; --i )
+ psz_ucs4[ i ] = psz_ucs2[ i ];
do we have any guarantee unichar_t is 4 bytes on OS/2 ?
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list