History

vp8: correct if/else '{' placement

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.

James Zern committed 10 years ago

Commit acb94601 parent 3bf02ad9 files · +20 −41Browse files

Showing the changes to vp8/decoder (1 of 9 files). Show all

Unified · Split

vp8/decoder/decodemv.c+2−4
@@ -65,8 +65,7 @@ static int read_mvcomponent(vp8_reader *r, const MV_CONTEXT *mvc) { · 64 unmodified lines
6565 const vp8_prob *const p = (const vp8_prob *)mvc;
6666 int x = 0;
6767
68− if (vp8_read(r, p[mvpis_short])) /* Large */
69− {
68+ if (vp8_read(r, p[mvpis_short])) { /* Large */
7069 int i = 0;
7170
7271 do {
@@ -285,8 +284,7 @@ static void read_mb_modes_mv(VP8D_COMP *pbi, MODE_INFO *mi, · 212 unmodified lines
285284 MB_MODE_INFO *mbmi) {
286285 vp8_reader *const bc = &pbi->mbc[8];
287286 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 */
290288 enum { CNT_INTRA, CNT_NEAREST, CNT_NEAR, CNT_SPLITMV };
291289 int cnt[4];
292290 int *cntx = cnt;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t