diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-03-15 18:53:43 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-03-15 18:53:43 -0700 |
commit | 82008ccd7ad52e7e2f917b6a1de42dbe8546b7ec (patch) | |
tree | 195a71a2c6232b953b60825383b555aed6166111 /src/rmd_cache_frame.c | |
parent | f3f4730c2236a3f27a921d818f14bc62b0e311d0 (diff) |
*: random whitespace cleanups
Mostly trailing space/tab removals, no functional changes.
Diffstat (limited to 'src/rmd_cache_frame.c')
-rw-r--r-- | src/rmd_cache_frame.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rmd_cache_frame.c b/src/rmd_cache_frame.c index fbec467..9629144 100644 --- a/src/rmd_cache_frame.c +++ b/src/rmd_cache_frame.c @@ -227,10 +227,10 @@ void *rmdCacheImageBuffer(ProgData *pdata) total_bytes += nbytes; { - unsigned int bytes_per_pixel = pdata->specs.depth >= 24 ? 4 : 2; - unsigned int pixels_per_frame = pdata->enc_data->yuv.y_width * pdata->enc_data->yuv.y_height; - - total_received_bytes = ((unsigned long long int)frameno) * bytes_per_pixel * pixels_per_frame; + unsigned int bytes_per_pixel = pdata->specs.depth >= 24 ? 4 : 2; + unsigned int pixels_per_frame = pdata->enc_data->yuv.y_width * pdata->enc_data->yuv.y_height; + + total_received_bytes = ((unsigned long long int)frameno) * bytes_per_pixel * pixels_per_frame; } if (total_received_bytes) { |