summaryrefslogtreecommitdiffstats
path: root/libhb/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/common.c')
-rw-r--r--libhb/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 526ee7874..c64fed591 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -2232,7 +2232,8 @@ void hb_autopassthru_print_settings(hb_job_t *job)
{
if ((audio_encoder->codec & HB_ACODEC_PASS_FLAG) &&
(audio_encoder->codec != HB_ACODEC_AUTO_PASS) &&
- (audio_encoder->codec & job->acodec_copy_mask))
+ (audio_encoder->codec & (job->acodec_copy_mask &
+ HB_ACODEC_PASS_MASK)))
{
if (mask != NULL)
{