From: Loren Merritt Date: Mon, 28 Feb 2005 19:01:58 +0000 (+0000) Subject: wrong stride in lowres image X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=ccf61cef868c38bb71d746fcc03f583d93fd3e4c;p=x264.git wrong stride in lowres image git-svn-id: svn://svn.videolan.org/x264/trunk@146 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/common/frame.c b/common/frame.c index d505b0f0..a36b3903 100644 --- a/common/frame.c +++ b/common/frame.c @@ -76,7 +76,7 @@ x264_frame_t *x264_frame_new( x264_t *h ) frame->i_stride[0] * 32 + 32; } - frame->i_stride_lowres = frame->i_stride[0]/2; + frame->i_stride_lowres = frame->i_stride[0]/2 + 32; frame->i_lines_lowres = frame->i_lines[0]/2; for( i = 0; i < 4; i++ ) {