diff options
Diffstat (limited to 'libhb/render.c')
-rw-r--r-- | libhb/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/render.c b/libhb/render.c index a8abd0e75..e8fe0aef2 100644 --- a/libhb/render.c +++ b/libhb/render.c @@ -112,7 +112,7 @@ static void ApplySub( hb_job_t * job, hb_buffer_t * buf, * Merge the luminance and alpha with the picture */ out[j] = ( (uint16_t) out[j] * ( 16 - (uint16_t) alpha[j] ) + - (uint16_t) lum[j] * (uint16_t) alpha[j] ) >> 4; + (uint16_t) lum[j] * (uint16_t) alpha[j] ) >> 4; /* * Set the chroma (colour) based on whether there is * any alpha at all. Don't try to blend with the picture. |