h264bitstream icon indicating copy to clipboard operation
h264bitstream copied to clipboard

SPS scaling list writer assumes 8 and only 8 indices

Open fabiosky opened this issue 3 years ago • 0 comments

Hello,

in line: https://github.com/aizvorski/h264bitstream/blob/master/h264_stream.c#L1727, it is assumed the count of seq_scaling_list_present_flag and ScalingListn*n always sum up to 8.

As I saw from the reader code: https://github.com/aizvorski/h264bitstream/blob/master/h264_stream.c#L398 it seems the count is dependent from chroma_format_idc.

Should the write behave accordingly?

Thanks, Fabio

fabiosky avatar Jul 07 '21 12:07 fabiosky