<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
Guys,<br>
<br>
Program stack is getting overflowed when I create and destroy encoder instance continuously for around 30 times. How can I ensure stack is completely freed when I destroy the encoder instance?
<span>I tried with VAR_ARRAYS. But Its giving me errors while I try to compile.<span> </span>I suppose VAR_ARRAYS allocates local variables as arrays so that they could go on to stack and finally when we leave the function, the stack is freed.
</span>
<div class="linestyle2 colourline"><span class="timestamp"></span><span>when I use VAR_ARRAYS, I get this error " declarations may not appear after an executable statement in the block". Is there any changes need to be done in stack_alloc.h ? Have you guys
faced same trouble or any fix is already done on this issue? <br>
My platform is TI C6424, CCS and windows. <br>
</span></div>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
@font-face
        {font-family:"MS Mincho"}
@font-face
        {font-family:"\@MS Mincho"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.SpellE
        {}
span.GramE
        {}
@page Section1
        {margin:1.0in 1.25in 1.0in 1.25in}
div.Section1
        {}
-->
</style>
<div class="Section1">
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:Arial">Best Regards</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:Arial">Fezin E T <br>
<br>
<span style="color:#4D4D4D">Senior Engineer - Systems Business Unit | Design And Development
<br>
</span><span style="color:#0099FF">TATA ELXSI</span><span style="color:#4D4D4D"></span></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:Arial; color:#4D4D4D">Technopark
<span class="GramE">Campus</span></span><span class="GramE"><span style="font-size:9.0pt; font-family:Arial; color:#4D4D4D"> Trivandrum 695 581<span style=""> </span>India</span></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt; font-family:Arial; color:#4D4D4D">Tel +91 471 666 1117
<span class="GramE"><span style=""> </span></span></span></p>
<p class="MsoNormal"><u><span style="font-size:9.0pt; font-family:Arial; color:#4D4D4D"><a href="http://www.tataelxsi.com/">www.tataelxsi.com</a></span></u><span style="font-size:9.0pt; font-family:Arial; color:#4D4D4D"></span></p>
</div>
</div>
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information
contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank
you
<br clear=all>
</body>
</html>