fix an uninitialized value in slicetype_analyse
authorLoren Merritt <pengvado@videolan.org>
Thu, 12 May 2005 19:48:10 +0000 (19:48 +0000)
committerLoren Merritt <pengvado@videolan.org>
Thu, 12 May 2005 19:48:10 +0000 (19:48 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@226 df754926-b1dd-0310-bc7b-ec298dee348c

common/frame.c
common/mc.c

index d1714bf..92c0ffd 100644 (file)
@@ -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++ )
index 106754b..88d66b4 100644 (file)
@@ -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 );
 }