diff options
author | John Stebbins <[email protected]> | 2016-12-21 08:39:09 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-21 08:39:09 -0800 |
commit | e5ba78063480bfe5d1fa68baf219f77fb137874b (patch) | |
tree | 4c76366547175987eb918d15cecfc5de910ad38b /libhb | |
parent | be0fb53130aace4b236cf06e82e72f0c326db685 (diff) |
fix unreachable code, really fix boolean logic this time
Thanks Rodeo for pointing this out
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/work.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c index c7c5f39df..56cd12d4b 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -502,7 +502,8 @@ void hb_display_job_info(hb_job_t *job) } if (job->color_matrix_code && - (job->vcodec == HB_VCODEC_X264_MASK || job->vcodec == HB_VCODEC_X265_MASK)) + ((job->vcodec & HB_VCODEC_X264_MASK) || + (job->vcodec & HB_VCODEC_X265_MASK))) { // color matrix is set: // 1) at the stream level (x264, x265, qsv only), |