<div dir="ltr"> am building ffmpeg and stuck in an unusual spot. Inside libavutil we
have float_dsp.h and float_dsp.c files. Inside these file there is a
declaration of a methond which is:
<pre style class=""><code><span class="">void</span><span class=""> </span><span class="">(*</span><span class="">butterflies_float</span><span class="">)(</span><span class="">float</span><span class=""> </span><span class="">*</span><span class="">av_restrict v1</span><span class="">,</span><span class=""> </span><span class="">float</span><span class=""> </span><span class="">*</span><span class="">av_restrict v2</span><span class="">,</span><span class=""> </span><span class="">int</span><span class=""> len</span><span class="">);</span><span class="">
</span><span class="">float</span><span class=""> </span><span class="">(*</span><span class="">scalarproduct_float</span><span class="">)(</span><span class="">const</span><span class=""> </span><span class="">float</span><span class=""> </span><span class="">*</span><span class="">v1</span><span class="">,</span><span class=""> </span><span class="">const</span><span class=""> </span><span class="">float</span><span class=""> </span><span class="">*</span><span class="">v2</span><span class="">,</span><span class=""> </span><span class="">int</span><span class=""> len</span><span class="">);</span></code></pre>
<p>when building and compiling this file i get this error and have no
idea what to do. I think problem is somewhere else but again have no
idea at all. Error is</p>
<pre style class=""><code><span class="">jni</span><span class="">/</span><span class="">ffmpeg</span><span class="">/</span><span class="">libavcodec</span><span class="">/../</span><span class="">libavutil</span><span class="">/</span><span class="">float_dsp</span><span class="">.</span><span class="">h</span><span class="">:</span><span class="">150</span><span class="">:</span><span class=""> error</span><span class="">:</span><span class=""> expected <br>
</span><span class="">';'</span><span class="">,</span><span class=""> </span><span class="">','</span><span class=""> </span><span class="">or</span><span class=""> </span><span class="">')'</span><span class=""> before </span><span class="">'v1'</span><span class="">
<br>jni</span><span class="">/</span><span class="">ffmpeg</span><span class="">/</span><span class="">libavcodec</span><span class="">/../</span><span class="">libavutil</span><span class="">/</span><span class="">float_dsp</span><span class="">.</span><span class="">h</span><span class="">:</span><span class="">161</span><span class="">:</span><span class=""> error</span><span class="">:</span><span class=""> expected <br>
</span><span class="">';'</span><span class=""> before </span><span class="">'float'</span></code></pre>
<p>Anybody who wants to help please take a step forward because i have
not really got any support on ffmpeg during couple of weeks now.</p></div>