Commit 7b38aad8 authored by Thomas Guillem's avatar Thomas Guillem

packetizer: h264: fix sps colour desc not read correctly

It should be read if colour_description_present_flag is true, not if
video_signal_type_present_flag is.
parent 565eeceb
......@@ -429,7 +429,7 @@ static bool h264_parse_sequence_parameter_set_rbsp( bs_t *p_bs,
{
bs_read( p_bs, 4 );
/* colour desc */
bs_read( p_bs, 1 );
i_tmp = bs_read( p_bs, 1 );
if ( i_tmp )
bs_read( p_bs, 24 );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment