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

bcoudurier subversion at mplayerhq.hu
Tue Sep 7 22:49:24 CEST 2010


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


More information about the FFmpeg-soc mailing list