summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-07 11:54:33 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-07 11:54:33 +0000
commitc9f42414c1c08bd67dc049f135edc7820bdd3f80 (patch)
tree0ac23d60cc32d70af1406cc2c915fb1fdcc59b24 /src/lib
parentb967397b8a6f2d742a35e3c56599ed982b3264d8 (diff)
Fix heinous thinko in dcp_audio_channels.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 395c53e31..66743250f 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -367,7 +367,7 @@ dcp_audio_sample_rate (int fs)
int
dcp_audio_channels (int f)
{
- if (f) {
+ if (f == 1) {
/* The source is mono, so to put the mono channel into
the centre we need to generate a 5.1 soundtrack.
*/