ref: ccef52944d0911d7bee9d969e493d0bf0e0093c5
parent: ad479d9641caf083feee75240b1363f91d1262a5
parent: 100ee65613aa6d6e5414bbfb014b66b35eeef1c7
author: Jerome Jiang <jianj@google.com>
date: Mon Jan 14 20:41:55 EST 2019
Merge "clean up debug print."
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -337,8 +337,7 @@
if (bsize == BLOCK_32X32) {
return 3;
}
- printf("ERROR: non-square block size\n");
- assert(0);
+ assert(0 && "ERROR: non-square block size");
return -1;
}
@@ -355,8 +354,7 @@
if (square_block_idx == 3) {
return BLOCK_32X32;
}
- printf("ERROR: invalid square_block_idx\n");
- assert(0);
+ assert(0 && "ERROR: invalid square_block_idx");
return BLOCK_INVALID;
}