Fix ptrdiff_t abuse. Especially in video_filter_invert:
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 9 Sep 2007 19:56:31 +0000 (19:56 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 9 Sep 2007 19:56:31 +0000 (19:56 +0000)
commit224355782e3c1ed0de743be148773d6e1aff172c
treeb3a758d6b5635e8d6221a84d9b8543d2046ed7c1
parent7e0632d147a9ed9ae056c575419965ccb251ac9e
Fix ptrdiff_t abuse. Especially in video_filter_invert:
ptrdiff_t is signed so unequality comparison between pointers would
compute wrong when the two operands are within opposite halves of the
memory space.
modules/misc/memcpy/fastmemcpy.h
modules/video_filter/deinterlace.c
modules/video_filter/invert.c