[Libav-user] SwrContext compile error

Xiaofei Yang yxf0605 at gmail.com
Wed Aug 13 05:06:32 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140813/af5c9d0d/attachment.html>


More information about the Libav-user mailing list