Commit a684ad3c authored by massiot's avatar massiot

* en50221.c: Fixed BSS corruption introduced in [78].


git-svn-id: svn://svn.videolan.org/dvblast/trunk@81 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 6fd252cd
......@@ -1972,10 +1972,10 @@ void en50221_Init( void )
*****************************************************************************/
void en50221_Reset( void )
{
memset( pb_active_slot, 0, sizeof(int) * MAX_CI_SLOTS );
memset( pb_tc_has_data, 0, sizeof(int) * MAX_CI_SLOTS );
memset( pb_slot_mmi_expected, 0, sizeof(int) * MAX_CI_SLOTS );
memset( pb_slot_mmi_undisplayed, 0, sizeof(int) * MAX_CI_SLOTS );
memset( pb_active_slot, 0, sizeof(bool) * MAX_CI_SLOTS );
memset( pb_tc_has_data, 0, sizeof(bool) * MAX_CI_SLOTS );
memset( pb_slot_mmi_expected, 0, sizeof(bool) * MAX_CI_SLOTS );
memset( pb_slot_mmi_undisplayed, 0, sizeof(bool) * MAX_CI_SLOTS );
if( i_ca_type & CA_CI_LINK )
{
......
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