Got it. Thanks

2014-08-13 19:00 GMT+08:00 wm4 <[email protected]>:

> On Wed, 13 Aug 2014 11:06:32 +0800
> Xiaofei Yang <[email protected]> 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
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to