Skip to content

Commit b494ebb

Browse files
committed
Remove excess ()
1 parent 43bdcbd commit b494ebb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/movie.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ static int movie_set_quality(ctx_movie *movie)
392392
movie->quality = 45; // default to 45% quality
393393
}
394394

395-
if ((movie->preferred_codec == USER_CODEC_V4L2M2M)) {
395+
if (movie->preferred_codec == USER_CODEC_V4L2M2M) {
396396

397397
// bit_rate = movie->width * movie->height * movie->fps * quality_factor
398398
movie->quality = (int)(((int64_t)movie->width * movie->height * movie->fps * movie->quality) >> 7);

src/webu_json.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void webu_json_config_parms(ctx_webui *webui, ctx_config *conf)
116116
indx_parm = 0;
117117
first = true;
118118
while ((config_parms[indx_parm].parm_name != "") ) {
119-
if ((config_parms[indx_parm].webui_level == WEBUI_LEVEL_NEVER)) {
119+
if (config_parms[indx_parm].webui_level == WEBUI_LEVEL_NEVER) {
120120
indx_parm++;
121121
continue;
122122
}

0 commit comments

Comments
 (0)