Commit 77962d1a authored by Daniel Kamil Kozar's avatar Daniel Kamil Kozar Committed by Jean-Paul Saman

add testing of i_additional_info in copyright descriptor

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent a46495cd
......@@ -96,6 +96,7 @@
s_decoded.i_additional_length = 0;</begin>
</insert>
<integer name="i_copyright_identifier" bitcount="32" default="0" />
<array name="i_additional_info" len_name="i_additional_length" min_size="0" />
</descriptor>
<descriptor name="maximum bitrate" sname="max_bitrate" fname="MaxBitrate">
......
......@@ -603,6 +603,15 @@ static int main_copyright_(void)
BOZO_CLEAN();
BOZO_end_integer(i_copyright_identifier, 32)
/* check i_additional_info */
s_decoded.i_additional_length = 0;
BOZO_init_integer(i_copyright_identifier, 0);
BOZO_begin_array(i_additional_info, i_additional_length, 0)
BOZO_DOJOB(Copyright);
BOZO_check_array(i_additional_info, i_additional_length)
BOZO_CLEAN();
BOZO_end_array(i_additional_info)
BOZO_END(copyright);
......
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