[Libav-user] SwrContext compile error
yxf0605 at gmail.com
Wed Aug 13 13:46:46 CEST 2014
Got it. Thanks
2014-08-13 19:00 GMT+08:00 wm4 <nfxjfg at googlemail.com>:
> On Wed, 13 Aug 2014 11:06:32 +0800
> Xiaofei Yang <yxf0605 at gmail.com> wrote:
> > Hi, guys:
> > I'm using SwrContext in my project, when I compile it using gcc, it
> > complains
> > dereferencing pointer to incomplete type
> > av_rescale_rnd(src_nb_samples, *swr_ctx->out_sample_rate*,
> > swr_ctx->in_sample_rate, AV_ROUND_UP);
> > I have include "libswresample/swresample.h"
> > Does anyone know how to fix it?
> > Many thanks
> The contents of SwrContext are private to libswsresample (and AFAIK
> always were). Rewrite your code, it's not a huge change to fix it.
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user