]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/output.c
Merge commit '47570dbde8b33001d5ccac44e7ebaaeecbcb807c'
[ffmpeg] / libswscale / output.c
index 58118141aa062434fbf7c89d4bc3b4d5c557176d..0c763c37bd02474b2b1e815cca4f82418f719531 100644 (file)
@@ -313,7 +313,7 @@ static void yuv2nv12cX_c(SwsContext *c, const int16_t *chrFilter, int chrFilterS
 
 #define accumulate_bit(acc, val) \
     acc <<= 1; \
-    acc |= (val) >= (128 + 110)
+    acc |= (val) >= 234
 #define output_pixel(pos, acc) \
     if (target == AV_PIX_FMT_MONOBLACK) { \
         pos = acc; \