Merge branch 'scvdsub' into 'master'

svcdsub: fix the palette reading order

See merge request videolan/vlc!4392
This commit is contained in:
Steve Lhomme 2024-04-28 07:10:42 +00:00
commit 27beae31c0
1 changed files with 1 additions and 1 deletions

View File

@ -394,8 +394,8 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
for( i = 0; i < 4; i++ )
{
p_sys->p_palette[i][0] = *p++; /* Y */
p_sys->p_palette[i][2] = *p++; /* Cr / V */
p_sys->p_palette[i][1] = *p++; /* Cb / U */
p_sys->p_palette[i][2] = *p++; /* Cr / V */
p_sys->p_palette[i][3] = *p++; /* T */
}