<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug in mp3enc_api_fp.c in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856186#M7128</link>
    <description>&lt;DIV style="margin:0px;"&gt;I compiled the 6.0 beta and found it has a different memory leak - the psychoacoustic_block&lt;I&gt;.IIRfilterState is not being free'd. mp3encClose() needs to change to:
&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;[cpp]MP3Status mp3encClose(MP3Enc *state)
{
  if (NULL == state){
    return MP3_OK;
  }

  switch(state-&amp;gt;com.header.layer) {
      case 1:
        break;
      case 2:
        break;
      case 3:
	{
	   int i;
	  mp3encClose_layer3(state);
	  for (i=0; i&amp;lt;4; i++)
	  {
	     ippsIIRFree_32f(state-&amp;gt;psychoacoustic_block&lt;I&gt;.IIRfilterState);
	  }
	}
       break;
      default:
        break;
  }

  return MP3_OK;
}[/cpp]&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 03 Nov 2008 22:12:52 GMT</pubDate>
    <dc:creator>m3driver</dc:creator>
    <dc:date>2008-11-03T22:12:52Z</dc:date>
    <item>
      <title>Bug in mp3enc_api_fp.c</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856183#M7125</link>
      <description>&lt;P&gt;The memory for &lt;SPAN style="font-size: x-small;"&gt;state-&amp;gt;pMDCTSpec36 &amp;amp; &lt;SPAN style="font-size: x-small;"&gt;state-&amp;gt;pMDCTSpec12 is allocated using &lt;SPAN style="font-size: x-small;"&gt;ippsMDCTFwdInitAlloc_32f() and should be freed in &lt;SPAN style="font-size: x-small;"&gt;mp3encClose_layer3() using &lt;SPAN style="font-size: x-small;"&gt;ippsMDCTFwdFree_32f() not &lt;SPAN style="font-size: x-small;"&gt;ippsFree()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;&lt;SPAN style="font-size: x-small;"&gt;This was found in 5.3.4.087&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2008 21:50:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856183#M7125</guid>
      <dc:creator>m3driver</dc:creator>
      <dc:date>2008-10-31T21:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in mp3enc_api_fp.c</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856184#M7126</link>
      <description>&lt;DIV style="margin:0px;"&gt;Thanks, I'll let development team to know about your report. By the way, did you check IPP 6.0 beta where this issue might be already solved?&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2008 06:54:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856184#M7126</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-11-01T06:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in mp3enc_api_fp.c</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856185#M7127</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;Thanks, I'll let development team to know about your report. By the way, did you check IPP 6.0 beta where this issue might be already solved?&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;No, the beta is considerably different in structure. Is it safe to swictch the beta yet? If not, when is release anticipated?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Nov 2008 21:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856185#M7127</guid>
      <dc:creator>m3driver</dc:creator>
      <dc:date>2008-11-01T21:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in mp3enc_api_fp.c</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856186#M7128</link>
      <description>&lt;DIV style="margin:0px;"&gt;I compiled the 6.0 beta and found it has a different memory leak - the psychoacoustic_block&lt;I&gt;.IIRfilterState is not being free'd. mp3encClose() needs to change to:
&lt;/I&gt;&lt;PRE&gt;&lt;I&gt;[cpp]MP3Status mp3encClose(MP3Enc *state)
{
  if (NULL == state){
    return MP3_OK;
  }

  switch(state-&amp;gt;com.header.layer) {
      case 1:
        break;
      case 2:
        break;
      case 3:
	{
	   int i;
	  mp3encClose_layer3(state);
	  for (i=0; i&amp;lt;4; i++)
	  {
	     ippsIIRFree_32f(state-&amp;gt;psychoacoustic_block&lt;I&gt;.IIRfilterState);
	  }
	}
       break;
      default:
        break;
  }

  return MP3_OK;
}[/cpp]&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Nov 2008 22:12:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Bug-in-mp3enc-api-fp-c/m-p/856186#M7128</guid>
      <dc:creator>m3driver</dc:creator>
      <dc:date>2008-11-03T22:12:52Z</dc:date>
    </item>
  </channel>
</rss>

