[FFmpeg-devel] [PATCH]lavfi/deshake_opencl: Do not use bool

Fu, Linjie linjie.fu at intel.com
Wed Apr 1 07:47:26 EEST 2020


> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Carl Eugen Hoyos
> Sent: Wednesday, April 1, 2020 04:26
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: [FFmpeg-devel] [PATCH]lavfi/deshake_opencl: Do not use bool
> 
> Hi!
> 
> Attached patch fixes compilation with opencl for powerpc where bool
> always had a meaning different from other architectures. Other
> work-arounds certainly exist but we usually don't like bool anyway.
> Fixes ticket #8591.
> 
> Please comment, Carl Eugen

Looks reasonable, and verified on ppc64 with make V=1 libavfilter/vf_deshake_opencl.o ,
the compile errors of "incompatible types when assigning to type ‘__vector __bool int’ from type ‘int’ "
are gone after applying this patch.

- Linjie


More information about the ffmpeg-devel mailing list