[vlc-devel] [PATCH 2/5] hxxx_sei: add HDR10/SMPTE ST 2086 metadata parsing

Francois Cartegnie fcvlcdev at free.fr
Wed Mar 29 17:01:37 CEST 2017


Le 29/03/2017 à 16:56, Filip Roséen a écrit :
> The above check does not seem to match the reading that takes place in
> this block, as the actual reading potentially consumes `16*6 + 16*4 +
> 32 + 32 => 224`, wheras the current check uses `192`.

>> +                for ( size_t i = 0; i < 2 ; ++i)
>> +                    sei_data.color_volume.white_point[i] = bs_read( &s, 

second loop is 2 not 4.

Francois


More information about the vlc-devel mailing list