From ccf61cef868c38bb71d746fcc03f583d93fd3e4c Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 28 Feb 2005 19:01:58 +0000 Subject: [PATCH] wrong stride in lowres image git-svn-id: svn://svn.videolan.org/x264/trunk@146 df754926-b1dd-0310-bc7b-ec298dee348c --- common/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++ ) { -- 2.47.3