[vlc-devel] [PATCH] Fixed a crash caused by yadif deinterlacer on Windows XP

Naohiro KORIYAMA nkoriyama at gmail.com
Mon Jan 9 14:10:40 CET 2012


Today, I missed so often.

>> I suggest reverting the patch and doing something like:
>>
>> uint8_t tmp[5*16];
>> uint8_t *tmpA= (uint8_t*)(((uintptr_t)(tmp+15)) & ~15);
>> uint8_t *tmp0 = &tmpA[0]; uint8_t *tmp1 = &tmpA[16] ...
>>
>> what do you think?
>> It would use the old version of the code and ensure that tmp* are aligned.
>
> I also think the last patch must be reverted.
> I tried your suggestion and linux 32/64 bit build crashed when
> enabling yadif, another builds, win32/64 osx64,  seemed to work.

not only linux 32/64 bit build but also win32/64 osx64 crashed.

-- 
KORIYAMA, Naohiro
nkoriyama at gmail.com



More information about the vlc-devel mailing list