[FFmpeg-devel] [PATCH 1/4] avfilter/vf_colormatrix: increase precision

Michael Niedermayer michael at niedermayer.cc
Sun Jun 5 19:45:02 CEST 2016


On Sat, Mar 26, 2016 at 10:57:49AM +0000, Thomas Mundt wrote:
> >>>Michael Niedermayer <michael at niedermayer.cc> schrieb am Sa, 26.3.2016:
> >
> > this causes some compiler warnings
> >
> > libavfilter/vf_colormatrix.c: In function ‘calc_coefficients’:
> > libavfilter/vf_colormatrix.c:163:9: warning: passing argument 2 of ‘inverse3x3’ from incompatible pointer type [enabled by default]
> > libavfilter/vf_colormatrix.c:117:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
> > libavfilter/vf_colormatrix.c:166:13: warning: passing argument 3 of ‘solve_coefficients’ from incompatible pointer type [enabled by default]
> > libavfilter/vf_colormatrix.c:132:13: note: expected ‘const double (*)[3]’ but argument is of type ‘double (*)[3]’
> 
> Strange, here (msys mingw-w64 gcc5.3) these warnings don´t appear.
> But it´s correct of course. New patch attached.

>  libavfilter/vf_colormatrix.c       |   38 +++++++++++++++++++++----------------
>  tests/ref/fate/filter-colormatrix1 |    2 -
>  tests/ref/fate/filter-colormatrix2 |    2 -
>  3 files changed, 24 insertions(+), 18 deletions(-)
> 0e7115d8c8de196a2a6aefca200c31136617260f  0001-avfilter-vf_colormatrix-increase-precision.patch
> From 51e597748575e9ec6194440c905d7fbae970ea66 Mon Sep 17 00:00:00 2001
> From: Thomas Mundt <loudmax at yahoo.de>
> Date: Sat, 26 Mar 2016 11:53:36 +0100
> Subject: [PATCH 1/4 v3] avfilter/vf_colormatrix: increase precision

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160605/28e5dd0b/attachment.sig>


More information about the ffmpeg-devel mailing list