diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-10 10:48:37 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-08-10 10:48:37 +0200 |
commit | b68380ba3c00f6db0d60ec5fe9ec72bb230ea7ad (patch) | |
tree | 16f649a776021e1215bb6646ce6104f221d1de8c | |
parent | b25021100436ada451cdd22e5a4d9a644d2bc3d7 (diff) | |
download | ODR-AudioEnc-b68380ba3c00f6db0d60ec5fe9ec72bb230ea7ad.tar.gz ODR-AudioEnc-b68380ba3c00f6db0d60ec5fe9ec72bb230ea7ad.tar.bz2 ODR-AudioEnc-b68380ba3c00f6db0d60ec5fe9ec72bb230ea7ad.zip |
Fix AOT selection in mono
-rw-r--r-- | src/odr-audioenc.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp index ff743bb..dcb8686 100644 --- a/src/odr-audioenc.cpp +++ b/src/odr-audioenc.cpp @@ -231,7 +231,8 @@ static int prepare_aac_encoder( if(channels == 2 && subchannel_index <= 6) { *aot = AOT_DABPLUS_PS; } - else if((channels == 1 && subchannel_index <= 8) || subchannel_index <= 10) { + else if((channels == 1 && subchannel_index <= 8) || + (channels == 2 && subchannel_index <= 10)) { *aot = AOT_DABPLUS_SBR; } else { |