[FFmpeg-soc] [soc]: r5931 - libavfilter/vf_fade.c

Stefano Sabatini stefano.sabatini-lala at poste.it
Wed Sep 8 11:52:15 CEST 2010


On date Tuesday 2010-09-07 22:49:24 +0200, bcoudurier encoded:
> Author: bcoudurier
> Date: Tue Sep  7 22:49:24 2010
> New Revision: 5931
> 
> Log:
> Fix fade filter with 4:2:0 input, h must not be divided since i is already divided below
> 
> Modified:
>    libavfilter/vf_fade.c
> 
> Modified: libavfilter/vf_fade.c
> ==============================================================================
> --- libavfilter/vf_fade.c	Tue Aug 24 11:02:54 2010	(r5930)
> +++ libavfilter/vf_fade.c	Tue Sep  7 22:49:24 2010	(r5931)
> @@ -153,7 +153,7 @@ static void draw_slice(AVFilterLink *lin
>          if (outpic->data[0] && outpic->data[1]) {
>              /* chroma planes */
>              for (plane = 1; plane < 3; plane++) {
> -                for (i = 0; i < h >> fade->vsub; i++) {
> +                for (i = 0; i < h; i++) {
>                      p = outpic->data[plane] + ((y+i) >> fade->vsub) * outpic->linesize[plane];
>                      for (j = 0; j < link->w >> fade->hsub; j++) {
>                          /* 8421367 = ((128 << 1) + 1) << 15. It is an integer

Is something preventing this filter from main SVN application (after
publication and discussion on ffmpeg-devel of course)?

Regards.


More information about the FFmpeg-soc mailing list