diff options
author | Jim Bankoski <jimbankoski@google.com> | 2014-08-04 08:52:53 -0700 |
---|---|---|
committer | Jim Bankoski <jimbankoski@google.com> | 2014-08-04 08:52:53 -0700 |
commit | 7f63dabfe9bdcc010604af212b152a1cd2f75bdc (patch) | |
tree | 9b770f566ddc976f9bb7c1efa9aaba5f7dec5f8c /vp9/encoder/vp9_encodeframe.c | |
parent | c3591463f4d36207053f3f70217c66e61ccdf217 (diff) | |
download | libvpx-7f63dabfe9bdcc010604af212b152a1cd2f75bdc.tar libvpx-7f63dabfe9bdcc010604af212b152a1cd2f75bdc.tar.gz libvpx-7f63dabfe9bdcc010604af212b152a1cd2f75bdc.tar.bz2 libvpx-7f63dabfe9bdcc010604af212b152a1cd2f75bdc.zip |
break at the end of clauses with assert(0) to avoid gcc warning
Change-Id: I1b3c5337f018dde27dc819ab18bd081d169a91e8
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 50980d027..3dbd25189 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -293,6 +293,7 @@ static void tree_to_node(void *data, BLOCK_SIZE bsize, variance_node *node) { } default: { assert(0); + break; } } } @@ -985,6 +986,7 @@ static void encode_sb(VP9_COMP *cpi, const TileInfo *const tile, break; default: assert("Invalid partition type."); + break; } if (partition != PARTITION_SPLIT || bsize == BLOCK_8X8) @@ -1412,6 +1414,7 @@ static void encode_sb_rt(VP9_COMP *cpi, const TileInfo *const tile, break; default: assert("Invalid partition type."); + break; } if (partition != PARTITION_SPLIT || bsize == BLOCK_8X8) @@ -1590,6 +1593,7 @@ static void rd_use_partition(VP9_COMP *cpi, break; default: assert(0); + break; } pl = partition_plane_context(xd, mi_row, mi_col, bsize); @@ -2952,6 +2956,7 @@ static void nonrd_use_partition(VP9_COMP *cpi, break; default: assert("Invalid partition type."); + break; } if (bsize == BLOCK_64X64 && output_enabled) { @@ -3028,6 +3033,7 @@ static void encode_nonrd_sb_row(VP9_COMP *cpi, const TileInfo *const tile, break; default: assert(0); + break; } } } |