[FFmpeg-devel] Channel mapping integration in af pan

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jan 18 19:51:53 CET 2012


On Wed, Jan 18, 2012 at 01:31:28PM +0100, Clément Bœsch wrote:
> And last thing, the patch set introduces a const warning, but I don't know
> what's the preferred way of fixing it:
> 
>   libavfilter/af_pan.c:316:5: warning: passing argument 4 of ‘swr_convert’ from
>   incompatible pointer type [enabled by default]
>   ./libswresample/swresample.h:111:5: note: expected ‘const uint8_t **’ but
>   argument is of type ‘uint8_t **’

Don't know about preferred, but casting to (void *) usually solves all
that kind of issues.

> I believe changing the swresample prototypes is the best way to go, but well…

Change them to what?


More information about the ffmpeg-devel mailing list