]> granicus.if.org Git - libx264/commitdiff
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 d1714bf5c7877049a11bbca48bfaf34545ec9649..92c0ffdd08de46054dd0c027c57690c261d58bef 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 106754b0835744de6635606e184051a84523940b..88d66b40d5423099e43dcced001b274851cdde39 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 );
 }