[MPlayer-dev-eng] [PATCH] fixing the fix for vCCoeffsBank
Michael Niedermayer
michaelni at gmx.at
Thu Feb 16 13:55:42 CET 2006
Hi
On Thu, Feb 16, 2006 at 12:57:26AM -0500, Alan Curry wrote:
> When the initialization of vCCoeffsBank was moved into sws_getContext(),
> there should have been an adjustment in the way its size is computed, from
> dstH to chrDstH. It turns out that in all cases where vCCoeffsBank is
> actually used, dstH==chrDstH, so the behavior is correct. But in cases where
> it is not used (like when converting from RGB to YUV), the initialization
> loop with dstH can cause a segfault.
>
> (Creating these "banks" in cases where they will not be used might also be
> considered a bug, but not as simple to fix as just using the correct size)
applied
[...]
--
Michael
More information about the MPlayer-dev-eng
mailing list