[x264-devel] A patch for analyis.c

lurui lurui.freesky at gmail.com
Mon Sep 26 04:20:29 CEST 2005


It just correct a mini mistake^_^ 

Index: analyse.c
===================================================================
--- analyse.c (revision 303)
+++ analyse.c (working copy)
@@ -536,7 +536,7 @@
             i_best = COST_MAX;
             predict_4x4_mode_available( h->mb.i_neighbour4[idx], predict_mode, &i_max );
 
-            if( (h->mb.i_neighbour4[i] & (MB_TOPRIGHT|MB_TOP)) == MB_TOP )
+            if( (h->mb.i_neighbour4[idx] & (MB_TOPRIGHT|MB_TOP)) == MB_TOP )
                 /* emulate missing topright samples */
                 *(uint32_t*) &p_dst_by[4 - i_stride] = p_dst_by[3 - i_stride] * 0x01010101U;


lurui
2005/9/26
-------------- next part --------------
A non-text attachment was scrubbed...
Name: analyse.patch
Type: application/octet-stream
Size: 593 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20050926/6f9e9568/attachment.obj 


More information about the x264-devel mailing list