[FFmpeg-devel] [PATCH 07/25] avfilter: negotiate color_range between filters

Michael Niedermayer michael at niedermayer.cc
Mon Dec 18 02:31:35 EET 2017


On Sun, Dec 17, 2017 at 11:00:13AM +0100, Paul B Mahol wrote:
[...]

> @@ -130,17 +165,26 @@ static int query_formats(AVFilterContext *ctx)
>  {
>      FormatContext *s = ctx->priv;
>      AVFilterFormats *formats = ff_make_format_list(s->formats);
> +    AVFilterFormats *color_ranges = ff_make_color_range_list(s->color_ranges);
> +    int ret;

this results in a warning:

libavfilter/vf_format.c: In function ‘query_formats’:
libavfilter/vf_format.c:168:5: warning: passing argument 1 of ‘ff_make_color_range_list’ from incompatible pointer type [enabled by default]

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20171218/7cf5645e/attachment.sig>


More information about the ffmpeg-devel mailing list