<?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: IPP 5.2 UMC::MP3Encoder bug that causes crash in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-5-2-UMC-MP3Encoder-bug-that-causes-crash/m-p/855648#M7078</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;thanks for your report, I've created issue for you on Premier Intel Support, so you will be notifed regarding progress on this issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2007 21:59:50 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2007-06-11T21:59:50Z</dc:date>
    <item>
      <title>IPP 5.2 UMC::MP3Encoder bug that causes crash</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-5-2-UMC-MP3Encoder-bug-that-causes-crash/m-p/855647#M7077</link>
      <description>I'm using w_ipp_ia32_p_5.2.057.exe and w_ipp-samples_p_5.2.049.zip, the latest availabe for download.&lt;BR /&gt;&lt;BR /&gt;The following code C++ code:&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt; UMC::AudioCodecParams *lpAudioEncoderParams = new UMC::AudioCodecParams();&lt;BR /&gt; UMC::MP3Encoder *lpAudioEncoder = new UMC::MP3Encoder();&lt;BR /&gt;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.bitrate = 128000;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.sample_frequency = 44100;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.channels = 2;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.channel_mask = 3;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.stream_type = UMC::MP1L3_AUDIO;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_out.bitPerSample = 16;&lt;BR /&gt;&lt;BR /&gt; lpAudioEncoderParams-&amp;gt;m_info_in = lpAudioEncoderParams-&amp;gt;m_info_out;&lt;BR /&gt;&lt;BR /&gt; UMC::Status res = lpAudioEncoder-&amp;gt;Init(lpAudioEncoderParams);&lt;BR /&gt;&lt;BR /&gt; delete lpAudioEncoder;&lt;BR /&gt; lpAudioEncoder = NULL;&lt;BR /&gt;&lt;BR /&gt; delete lpAudioEncoderParams;&lt;BR /&gt; lpAudioEncoderParams = NULL;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;causes application crash (Invalid Address specified to RtlFreeHeap).&lt;BR /&gt;&lt;BR /&gt;I traced the problem and it turned out that the function mp3encClose_layer3() causes it.&lt;BR /&gt;It is implemeted that way:&lt;BR /&gt;&lt;BR /&gt;static void mp3encClose_layer3(MP3Enc *state)&lt;BR /&gt;{&lt;BR /&gt; if(state-&amp;gt;pMDCTSpec36)&lt;BR /&gt; ippsFree(state-&amp;gt;pMDCTSpec36);&lt;BR /&gt; if(state-&amp;gt;pMDCTSpec12)&lt;BR /&gt; ippsFree(state-&amp;gt;pMDCTSpec12);&lt;BR /&gt;&lt;BR /&gt; state-&amp;gt;com.si_private_bits = 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but it should be something like:&lt;BR /&gt;&lt;BR /&gt;static void mp3encClose_layer3(MP3Enc *state)&lt;BR /&gt;{&lt;BR /&gt; if (state-&amp;gt;pMDCTSpec36)&lt;BR /&gt;  ippsMDCTFwdFree_32f(state-&amp;gt;pMDCTSpec36);&lt;BR /&gt; state-&amp;gt;pMDCTSpec36 = NULL;&lt;BR /&gt;&lt;BR /&gt; if (state-&amp;gt;pMDCTSpec12)&lt;BR /&gt;  ippsMDCTFwdFree_32f(state-&amp;gt;pMDCTSpec12);&lt;BR /&gt; state-&amp;gt;pMDCTSpec12 = NULL;&lt;BR /&gt;&lt;BR /&gt; state-&amp;gt;com.si_private_bits = 0;&lt;BR /&gt;} &lt;BR /&gt;&lt;BR /&gt;The latest beta version did not have that problem. &lt;IMG src="https://community.intel.com/isn/Community/en-US/emoticons/emotion-9.gif" alt="Sad smiley [:(]" /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Jun 2007 09:31:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-5-2-UMC-MP3Encoder-bug-that-causes-crash/m-p/855647#M7077</guid>
      <dc:creator>agent_smith</dc:creator>
      <dc:date>2007-06-11T09:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: IPP 5.2 UMC::MP3Encoder bug that causes crash</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-5-2-UMC-MP3Encoder-bug-that-causes-crash/m-p/855648#M7078</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;thanks for your report, I've created issue for you on Premier Intel Support, so you will be notifed regarding progress on this issue.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2007 21:59:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-5-2-UMC-MP3Encoder-bug-that-causes-crash/m-p/855648#M7078</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-06-11T21:59:50Z</dc:date>
    </item>
  </channel>
</rss>

