]> granicus.if.org Git - libvpx/commitdiff
Header inclusion for Unix build
authorPaul Wilkins <paulwilkins@google.com>
Wed, 16 Nov 2011 10:34:47 +0000 (10:34 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Wed, 16 Nov 2011 10:34:47 +0000 (10:34 +0000)
Explicit inclusion of limits.h to satisfy unix build for definition of INT_MAX.
Some commented out code removed.

Change-Id: I5b5980dfaa9b4d2d12bfd729cfd35bd982106908

vp8/encoder/encodeframe.c
vp8/encoder/segmentation.c

index 860beb4adbc36162522de7914ef8351529a6842d..7a8683a9dd59210587560ed649610a681a5eab75 100644 (file)
@@ -1069,14 +1069,6 @@ void vp8_encode_frame(VP8_COMP *cpi)
 
     }
 
-    // Work out the segment probabilites if segmentation is enabled and
-    // the map is due to be updated
-    //if (xd->segmentation_enabled && xd->update_mb_segmentation_map)
-    //{
-    //    // Select the coding strategy for the segment map (temporal or spatial)
-    //    choose_segmap_coding_method( cpi );
-    //}
-
     // 256 rate units to the bit
     cpi->projected_frame_size = totalrate >> 8;   // projected_frame_size in units of BYTES
 
index da6c6864867014038baea2a8309ac0993fc80fe6..516a4155463a19df8c38a4816d70496e8c5ef7f0 100644 (file)
@@ -9,8 +9,9 @@
  */
 
 
-#include "segmentation.h"
+#include "limits.h"
 #include "vpx_mem/vpx_mem.h"
+#include "segmentation.h"
 
 void vp8_update_gf_useage_maps(VP8_COMP *cpi, VP8_COMMON *cm, MACROBLOCK *x)
 {