[MPlayer-users] Possible bug in swscale.c
Zuxy Meng
zuxy.meng at gmail.com
Mon Mar 17 07:02:52 CET 2008
Hi,
"Alexander Bokovikov" <openworld at uralweb.ru> 写入消息新闻:005e01c8879b$c749ead0$0300a8c0 at bibika...
> Hi, All,
>
> As I reported earlier (see "configure --disable-network..." thread) I've
> got
> an error on one of my computers (P-III):
> ====================><8====================
> Assertion failed: 2*VOF == VOFW, file swscale.c, line 2398
> ====================><8====================
>
> As nobody answered me why it might so happen, I've digged into the source
> file... After few investigations I've discovered that this expression
> (2*VOF
> == VOFW) is really always false by default, and it just can be never true,
> because of these definitions, found in swscale-internal.h:
>
> ====================><8====================
> #define VOFW 2048
> #define VOF (VOFW*2)
> ====================><8====================
>
> I beleave this is just a typo in the Assert() operator at line 2398:
>
> assert(2*VOF == VOFW);
>
> The "W" letter was written at incorrect position. It should be:
>
> assert(2*VOFW == VOF);
>
> After this update and re-making all is working just fine.
Committed. Thanks!
--
Zuxy
More information about the MPlayer-users
mailing list