[FFmpeg-soc] [soc]: r633 - libavfilter/vf_crop.c

koorogi subversion at mplayerhq.hu
Wed Aug 8 19:22:14 CEST 2007


Author: koorogi
Date: Wed Aug  8 19:22:14 2007
New Revision: 633

Log:
typo


Modified:
   libavfilter/vf_crop.c

Modified: libavfilter/vf_crop.c
==============================================================================
--- libavfilter/vf_crop.c	(original)
+++ libavfilter/vf_crop.c	Wed Aug  8 19:22:14 2007
@@ -131,7 +131,7 @@ static void start_frame(AVFilterLink *li
     ref2->data[0] += crop->cx * crop->bpp;
     for(i = 1; i < 4; i ++) {
         if(ref2->data[i]) {
-            ref2->data[i] += (crop->cy >> crop->vsub) * ref2->linesize[1];
+            ref2->data[i] += (crop->cy >> crop->vsub) * ref2->linesize[i];
             ref2->data[i] +=  crop->cx >> crop->hsub;
         }
     }



More information about the FFmpeg-soc mailing list