[SCM] libav/experimental: Fix a typo that causes an assertion to always fail. Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)

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


The following commit has been merged in the experimental branch:
commit 5a352b14e7d14358e1e734a161e77def9580a3c3
Author: Zuxy Meng <zuxy.meng at gmail.com>
Date:   Mon Mar 17 06:01:58 2008 +0000

    Fix a typo that causes an assertion to always fail.
    Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)
    
    Originally committed as revision 26257 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 5e3c0a9..e6cb3f4 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2395,7 +2395,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
     //try to avoid drawing green stuff between the right end and the stride end
     for (i=0; i<c->vChrBufSize; i++) memset(c->chrPixBuf[i], 64, (VOF+1)*2);
 
-    assert(2*VOF == VOFW);
+    assert(2*VOFW == VOF);
 
     ASSERT(c->chrDstH <= dstH)
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list