[FFmpeg-devel] [PATCH] vf_colorspace: remove debug statement.

Ronald S. Bultje rsbultje at gmail.com
Fri May 6 19:14:32 CEST 2016


Hi,

On Fri, May 6, 2016 at 12:02 PM, Ronald S. Bultje <rsbultje at gmail.com>
wrote:

> This always disabled lrgb2lrgb passthrough, which slightly decreases
> performance.
> ---
>  libavfilter/vf_colorspace.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
> index d119e36..dd66a4e 100644
> --- a/libavfilter/vf_colorspace.c
> +++ b/libavfilter/vf_colorspace.c
> @@ -640,7 +640,7 @@ static int create_filtergraph(AVFilterContext *ctx,
>              return AVERROR(EINVAL);
>          }
>          s->lrgb2lrgb_passthrough = !memcmp(s->in_primaries,
> s->out_primaries,
> -                                           sizeof(*s->in_primaries)) && 0;
> +                                           sizeof(*s->in_primaries));
>          if (!s->lrgb2lrgb_passthrough) {
>              double rgb2xyz[3][3], xyz2rgb[3][3], rgb2rgb[3][3];


Ignore this, this was a local tree quirk...

Ronald


More information about the ffmpeg-devel mailing list