Hi

On Mon, Mar 09, 2015 at 10:56:18AM -0700, Yayoi wrote:
> ---
>  libavfilter/vf_colormatrix.c | 146 
> ++++++++++++++++++++++++++++---------------
>  1 file changed, 95 insertions(+), 51 deletions(-)
[...]
> @@ -372,12 +402,26 @@ static int filter_frame(AVFilterLink *link, AVFrame *in)
>  
>      calc_coefficients(ctx);
>  
> +    ThreadData td = {
> +        td.src = in;
> +        td.dst = out;
> +        td.c2 = color->yuv_convert[color->mode][0][1];
> +        td.c3 = color->yuv_convert[color->mode][0][2];
> +        td.c4 = color->yuv_convert[color->mode][1][1];
> +        td.c5 = color->yuv_convert[color->mode][1][2];
> +        td.c6 = color->yuv_convert[color->mode][2][1];
> +        td.c7 = color->yuv_convert[color->mode][2][2];
> +    };

That does not compile
ffmpeg/libavfilter/vf_colormatrix.c: In function ‘filter_frame’:
ffmpeg/libavfilter/vf_colormatrix.c:406:9: warning: initialization discards 
‘const’ qualifier from pointer target type [enabled by default]
ffmpeg/libavfilter/vf_colormatrix.c:406:20: error: expected ‘}’ before ‘;’ token
ffmpeg/libavfilter/vf_colormatrix.c:405:5: warning: ISO C90 forbids mixed 
declarations and code [-Wdeclaration-after-statement]

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

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to