From e9560dbece41136ffedd786723717efaa2a3a9fd Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Tue, 20 Oct 2020 16:30:44 -0400 Subject: Fix the 4 TACLeBench members that would not loop before - anagram, audiobeam: Reset heap in _init() function - g723_enc: Don't use static local variables - huff_dec: Reset all global state in _init() function --- baseline/source/huff_dec/huff_dec.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'baseline/source/huff_dec/huff_dec.c') diff --git a/baseline/source/huff_dec/huff_dec.c b/baseline/source/huff_dec/huff_dec.c index 58b40d3..e0ebc19 100644 --- a/baseline/source/huff_dec/huff_dec.c +++ b/baseline/source/huff_dec/huff_dec.c @@ -144,6 +144,8 @@ void huff_dec_init( void ) { huff_dec_input_pos = 0; huff_dec_output_pos = 0; + huff_dec_byte_nb_to_read = 0; + huff_dec_val_to_read = 0; } @@ -379,15 +381,11 @@ void _Pragma( "entrypoint" ) huff_dec_main( void ) int main( int argc, char **argv ) { - //SET_UP - int jobsComplete; - int maxJobs=5; - for (jobsComplete=0; jobsComplete