summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-01-15 01:41:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-01-15 01:41:55 +0000
commitccef52944d0911d7bee9d969e493d0bf0e0093c5 (patch)
tree67b9cc64da60af6fce9112233622ae647bac6ba7 /vp9
parentad479d9641caf083feee75240b1363f91d1262a5 (diff)
parent100ee65613aa6d6e5414bbfb014b66b35eeef1c7 (diff)
downloadlibvpx-ccef52944d0911d7bee9d969e493d0bf0e0093c5.tar
libvpx-ccef52944d0911d7bee9d969e493d0bf0e0093c5.tar.gz
libvpx-ccef52944d0911d7bee9d969e493d0bf0e0093c5.tar.bz2
libvpx-ccef52944d0911d7bee9d969e493d0bf0e0093c5.zip
Merge "clean up debug print."
Diffstat (limited to 'vp9')
-rw-r--r--vp9/encoder/vp9_encoder.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index 18adfebfe..cb9ea2de2 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -337,8 +337,7 @@ static INLINE int get_square_block_idx(BLOCK_SIZE bsize) {
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 @@ static INLINE BLOCK_SIZE square_block_idx_to_bsize(int square_block_idx) {
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;
}