[SCM] libav/experimental: 10000l PIX_FMT_MONOWHITE check was really a || 1. Thats what happens when one does not do the full set of tests before each commit and just quickly goes over the diff thinking, "hey its a trivial change".

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:30:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 4bb9adcff1be7ccbb6b8fab40cd68b3808544edc
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Fri Sep 12 17:28:36 2008 +0000

    10000l PIX_FMT_MONOWHITE check was really a || 1.
    Thats what happens when one does not do the full set of tests before each commit
    and just quickly goes over the diff thinking, "hey its a trivial change".
    
    Originally committed as revision 27588 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index 3ff9c2b..1dec7b8 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -2675,7 +2675,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
         src1= formatConvBuffer;
         src2= formatConvBuffer+VOFW;
     }
-    else if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || PIX_FMT_MONOWHITE)
+    else if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || srcFormat==PIX_FMT_MONOWHITE)
     {
         return;
     }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list