[FFmpeg-devel] [PATCH 6/7] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support

Michael Niedermayer michael at niedermayer.cc
Sat May 25 14:52:17 EEST 2019


On Fri, May 24, 2019 at 05:36:15PM +0800, lance.lmwang at gmail.com wrote:
> From: Limin Wang <lance.lmwang at gmail.com>
> 
> ---
>  libavfilter/vf_overlay.c | 69 +++++++++++++++++++++++++---------------
>  1 file changed, 44 insertions(+), 25 deletions(-)

breaks build

CC	libavfilter/vf_overlay.o
libavfilter/vf_overlay.c: In function ‘blend_plane_8_8bits’:
libavfilter/vf_overlay.c:567:972: warning: unused variable ‘mid’ [-Wunused-variable]
 DEFINE_BLEND_PLANE(8, 8);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ^
libavfilter/vf_overlay.c: In function ‘alpha_composite_8_8bits’:
libavfilter/vf_overlay.c:622:1: error: case label does not reduce to an integer constant
 DEFINE_ALPHA_COMPOSITE(8, 8);
 ^
make: *** [libavfilter/vf_overlay.o] Error 1
make: Target `all' not remade because of errors.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190525/0edd2157/attachment.sig>


More information about the ffmpeg-devel mailing list