[FFmpeg-devel] [PATCH] bgr32 libswscale special convertor
Peter Schlaile
peter
Fri Aug 14 15:18:10 CEST 2009
Hi,
thanks a lot!
Regards,
Peter
P.S.: You might still want to overthink that
"const uint8_t* src[]"-parameter (or fix the other convertors accordingly)...
Take a look at the declaration of SwsFunc in swscale_internal.h:62 :
typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[],
int srcStride[], int srcSliceY, int srcSliceH,
uint8_t* dst[], int dstStride[]);
Since *all* the SwsFuncs expect an "uint8_t* src[]", you'll get a lot of
compiler warnings currently (as I already stated in my previous mails...)
----
Peter Schlaile
More information about the ffmpeg-devel
mailing list