From 8735c17ceb20b55ca8e07960a3a029fc8d73c8d4 Mon Sep 17 00:00:00 2001
From: Geza Lore <gezalore@gmail.com>
Date: Wed, 16 Mar 2016 13:08:13 +0000
Subject: [PATCH] Fix build without supertx.

Change-Id: Ib60821487710f6cf06aaa8ddcbdd5487ba1cbe4f
---
 vp10/encoder/encodeframe.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/vp10/encoder/encodeframe.c b/vp10/encoder/encodeframe.c
index c66be39de7..c6715ce79b 100644
--- a/vp10/encoder/encodeframe.c
+++ b/vp10/encoder/encodeframe.c
@@ -1654,7 +1654,9 @@ static void rd_pick_sb_modes(VP10_COMP *cpi,
                                    totalrate_nocoef,
 #endif  // CONFIG_SUPERTX
                                    bsize, ctx, best_rd);
+#if CONFIG_SUPERTX
         assert(*totalrate_nocoef >= 0);
+#endif  // CONFIG_SUPERTX
       }
     } else {
       vp10_rd_pick_inter_mode_sub8x8(cpi, tile_data, x, mi_row, mi_col, rd_cost,
@@ -1662,7 +1664,9 @@ static void rd_pick_sb_modes(VP10_COMP *cpi,
                                      totalrate_nocoef,
 #endif  // CONFIG_SUPERTX
                                      bsize, ctx, best_rd);
+#if CONFIG_SUPERTX
       assert(*totalrate_nocoef >= 0);
+#endif  // CONFIG_SUPERTX
     }
   }
 
-- 
GitLab