Fix min tile width check
BUG=aomedia:2249
Change-Id: I60b31d8a3fe1f7fd6d9b74e71c361665582d3a35
diff --git a/av1/common/tile_common.c b/av1/common/tile_common.c
index 069f966..63a745a 100644
--- a/av1/common/tile_common.c
+++ b/av1/common/tile_common.c
@@ -212,8 +212,8 @@
}
int is_min_tile_width_satisfied(const AV1_COMMON *cm) {
- // Disable check if there is a single tile in the frame
- if (cm->tile_cols == 1 && cm->tile_rows == 1) return 1;
+ // Disable check if there is a single tile col in the frame
+ if (cm->tile_cols == 1) return 1;
return ((cm->min_tile_width << MI_SIZE_LOG2) >=
(64 << av1_superres_scaled(cm)));