summaryrefslogtreecommitdiff
path: root/src/lib/create_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-28 23:02:09 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-28 23:02:09 +0200
commit1b46ccd7a9d1fa92a1588cfa9adf2e85c1b4a33d (patch)
tree62f8b46a9d855590e8a63a8d07b144f7eff32229 /src/lib/create_cli.cc
parent359b3e0b84c9bfbe363fd61ee806860172f24e72 (diff)
Fix thinko when trying to keep channel counts even.
Diffstat (limited to 'src/lib/create_cli.cc')
-rw-r--r--src/lib/create_cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/create_cli.cc b/src/lib/create_cli.cc
index 58aa1b01b..6752be409 100644
--- a/src/lib/create_cli.cc
+++ b/src/lib/create_cli.cc
@@ -381,7 +381,7 @@ CreateCLI::make_film() const
channels = std::max(channels, static_cast<int>(*cli_content.channel) + 1);
}
}
- if (channels % 1) {
+ if (channels % 2) {
++channels;
}