summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd_rescue.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-05 15:55:42 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:41 -0700
commit39cfa5d40b1b5ea2a060bfa51c0f573bbc1bf665 (patch)
tree36286b8a5f5abf0d35cc6ec3a3ee6707979d6dc8 /recordmydesktop/src/rmd_rescue.c
parent8e8124c7353c7001a6ebbde500803e11bd7b6588 (diff)
*: more small whitespace fixups
nothing functionally changed
Diffstat (limited to 'recordmydesktop/src/rmd_rescue.c')
-rw-r--r--recordmydesktop/src/rmd_rescue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_rescue.c b/recordmydesktop/src/rmd_rescue.c
index ec3130e..06d58fa 100644
--- a/recordmydesktop/src/rmd_rescue.c
+++ b/recordmydesktop/src/rmd_rescue.c
@@ -75,10 +75,10 @@ int rmdRescue(const char *path) {
if (rmdReadSpecsFile(&pdata))
return 1;
- width=((pdata.brwin.rrect.width + 15) >>4)<<4;
- height=((pdata.brwin.rrect.height + 15) >>4)<<4;
- offset_x=((width-pdata.brwin.rrect.width)/2)&~1;
- offset_y=((height-pdata.brwin.rrect.height)/2)&~1;
+ width = ((pdata.brwin.rrect.width + 15) >> 4) << 4;
+ height = ((pdata.brwin.rrect.height + 15) >> 4) << 4;
+ offset_x = ((width - pdata.brwin.rrect.width) / 2) & ~1;
+ offset_y = ((height - pdata.brwin.rrect.height) / 2) & ~1;
enc_data.yuv.y=(unsigned char *)malloc(height*width);
enc_data.yuv.u=(unsigned char *)malloc(height*width/4);
© All Rights Reserved