<div dir="ltr"><font color="#000000">Hi, guys:</font><div><font color="#000000"><br></font></div><div><font color="#000000">I'm using SwrContext in my project, when I compile it using gcc, it complains </font></div><div>
<p style="margin:0px;font-family:Menlo"><font color="#000000"><br></font></p><p style="margin:0px;font-family:Menlo"><font color="#000000">dereferencing pointer to incomplete type</font></p><p style="margin:0px;font-family:Menlo">
<font color="#000000">av_rescale_rnd(src_nb_samples, <b>swr_ctx->out_sample_rate</b>, swr_ctx->in_sample_rate, AV_ROUND_UP);</font></p></div><div><font color="#000000"><br></font></div><div><font color="#000000">I have include "<span style="font-family:Menlo">libswresample/swresample.h"</span></font></div>
<div><span style="font-family:Menlo"><font color="#000000"><br></font></span></div><div><span style="font-family:Menlo"><font color="#000000">Does anyone know how to fix it?</font></span></div><div><span style="font-family:Menlo"><font color="#000000"><br>
</font></span></div><div><span style="font-family:Menlo"><font color="#000000">Many thanks</font></span></div></div>