Hello,<div><br></div><div>I'm developing a multiplatform player using libav and QT.</div><div>It works fine in Win32, MacOS and Linux, but I have a problem with audio in Linux 64bits.</div><div><br>When I perform a search, my SwrContext pointer still at the same place but I get segmentation fault when it gets to swr_convert function.</div>
<div>I guess it might be another data structure which is going out of bounds.</div><div>Also I have an audio cracking which changes when I modify the parameters of my audio decoding buffer declared like this:</div><div><pre style="margin-top:0px;margin-bottom:0px">
<font face="arial, helvetica, sans-serif"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif">DECLARE_ALIGNED(<span style="color:rgb(0,0,128)">16</span>,<span style="color:rgb(192,192,192)"> </span>uint8_t,<span style="color:rgb(192,192,192)"> </span>m_tDecodingBuffer)[AVCODEC_MAX_AUDIO_FRAME_SIZE*<span style="color:rgb(0,0,128)">4</span>];</font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif">Is there any special configuration or data structure which depends of the system word size?</font></pre>
<pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif">Any clues?</font></pre><pre style="margin-top:0px;margin-bottom:0px">
<font face="arial, helvetica, sans-serif"><br></font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif">Thank you.</font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif"><br>
</font></pre><pre style="margin-top:0px;margin-bottom:0px"><font face="arial, helvetica, sans-serif">Hector.</font></pre></div>