swap '{' and c-style comments removing a few redundant ones along the way; covers most leftovers from the clang-tidy run against an x86_64-linux config.
Showing the changes to vp8/decoder (1 of 9 files). Show all
Unified · Split
| @@ -65,8 +65,7 @@ static int read_mvcomponent(vp8_reader *r, const MV_CONTEXT *mvc) { · 64 unmodified lines | ||
| 65 | 65 | const vp8_prob *const p = (const vp8_prob *)mvc; |
| 66 | 66 | int x = 0; |
| 67 | 67 | |
| 68 | − if (vp8_read(r, p[mvpis_short])) /* Large */ | |
| 69 | − { | |
| 68 | + if (vp8_read(r, p[mvpis_short])) { /* Large */ | |
| 70 | 69 | int i = 0; |
| 71 | 70 | |
| 72 | 71 | do { |
| @@ -285,8 +284,7 @@ static void read_mb_modes_mv(VP8D_COMP *pbi, MODE_INFO *mi, · 212 unmodified lines | ||
| 285 | 284 | MB_MODE_INFO *mbmi) { |
| 286 | 285 | vp8_reader *const bc = &pbi->mbc[8]; |
| 287 | 286 | mbmi->ref_frame = (MV_REFERENCE_FRAME)vp8_read(bc, pbi->prob_intra); |
| 288 | − if (mbmi->ref_frame) /* inter MB */ | |
| 289 | − { | |
| 287 | + if (mbmi->ref_frame) { /* inter MB */ | |
| 290 | 288 | enum { CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV }; |
| 291 | 289 | int cnt[4]; |
| 292 | 290 | int *cntx = cnt; |