From 31c91bd71f1cc7fd0988892657a3574dc534f628 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Thu, 12 May 2005 19:48:10 +0000 Subject: [PATCH] fix an uninitialized value in slicetype_analyse git-svn-id: svn://svn.videolan.org/x264/trunk@226 df754926-b1dd-0310-bc7b-ec298dee348c --- common/frame.c | 2 +- common/mc.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/frame.c b/common/frame.c index d1714bf5..92c0ffdd 100644 --- a/common/frame.c +++ b/common/frame.c @@ -211,7 +211,7 @@ void x264_frame_expand_border_filtered( x264_frame_t *frame ) plane_expand_border( frame->filtered[i] - 8*frame->i_stride[0] - 8, frame->i_stride[0], frame->i_lines[0]+2*8, 24 ); } -void x264_frame_expand_lowres( x264_frame_t *frame ) +void x264_frame_expand_border_lowres( x264_frame_t *frame ) { int i; for( i = 0; i < 4; i++ ) diff --git a/common/mc.c b/common/mc.c index 106754b0..88d66b40 100644 --- a/common/mc.c +++ b/common/mc.c @@ -516,5 +516,7 @@ void x264_frame_init_lowres( int cpu, x264_frame_t *frame ) for( y = 0; y < 16; y++ ) for( x = 0; x < 16; x++ ) frame->i_cost_est[x][y] = -1; + + x264_frame_expand_border_lowres( frame ); } -- 2.47.3