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

uncomment tests for the stuffing descriptor

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent f81afab2
...@@ -129,14 +129,11 @@ ...@@ -129,14 +129,11 @@
<descriptor name="MPEG-4 audio" sname="mpeg4_audio" fname="MPEG4Audio" gen_args="1"> <descriptor name="MPEG-4 audio" sname="mpeg4_audio" fname="MPEG4Audio" gen_args="1">
<integer name="i_mpeg4_audio_profile_and_level" bitcount="8" default="0" /> <integer name="i_mpeg4_audio_profile_and_level" bitcount="8" default="0" />
</descriptor> </descriptor>
<!--
<descriptor name="stuffing" sname="stuffing" fname="Stuffing"> <descriptor name="stuffing" sname="stuffing" fname="Stuffing">
<insert> <array name="i_stuffing_byte" len_name="i_stuffing_length" min_size="0" />
<begin>
s_decoded.i_stuffing_length = 0;</begin>
</insert>
</descriptor> </descriptor>
<!--
<descriptor name="bouquet name" sname="bouquet_name" fname="BouquetName"> <descriptor name="bouquet name" sname="bouquet_name" fname="BouquetName">
<insert> <insert>
<begin> <begin>
......
...@@ -812,6 +812,26 @@ static int main_mpeg4_audio_(void) ...@@ -812,6 +812,26 @@ static int main_mpeg4_audio_(void)
return i_err; return i_err;
} }
/* stuffing */
static int main_stuffing_(void)
{
BOZO_VARS(stuffing);
BOZO_START(stuffing);
/* check i_stuffing_byte */
BOZO_begin_array(i_stuffing_byte, i_stuffing_length, 0)
BOZO_DOJOB(Stuffing);
BOZO_check_array(i_stuffing_byte, i_stuffing_length)
BOZO_CLEAN();
BOZO_end_array(i_stuffing_byte)
BOZO_END(stuffing);
return i_err;
}
/* service */ /* service */
static int main_service_(void) static int main_service_(void)
{ {
...@@ -862,6 +882,7 @@ int main(void) ...@@ -862,6 +882,7 @@ int main(void)
i_err |= main_ibp_(); i_err |= main_ibp_();
i_err |= main_mpeg4_video_(); i_err |= main_mpeg4_video_();
i_err |= main_mpeg4_audio_(); i_err |= main_mpeg4_audio_();
i_err |= main_stuffing_();
i_err |= main_service_(); i_err |= main_service_();
if(i_err) if(i_err)
......
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