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

koorogi subversion at mplayerhq.hu
Sat Jun 30 19:12:27 CEST 2007


Author: koorogi
Date: Sat Jun 30 19:12:27 2007
New Revision: 294

Log:
Missed one usage of the AVFilterPic's linesize when making it a
per-AVFilterPicRef property.


Modified:
   libavfilter/vf_crop.c

Modified: libavfilter/vf_crop.c
==============================================================================
--- libavfilter/vf_crop.c	(original)
+++ libavfilter/vf_crop.c	Sat Jun 30 19:12:27 2007
@@ -64,7 +64,7 @@ static void start_frame(AVFilterLink *li
 
     ref2->w = crop->w;
     ref2->h = crop->h;
-    ref2->data[0] += crop->y * ref2->pic->linesize[0];
+    ref2->data[0] += crop->y * ref2->linesize[0];
     ref2->data[0] += 3 * crop->x;
 
     av_log(link->dst, AV_LOG_INFO, "start_frame()\n");



More information about the FFmpeg-soc mailing list