#137 Avoid SIGSEGV errors with Nearest+ 1.5 video filter on OS X


The upcoming Cocoa port will be supporting video filters. Most of the video filters do out-of-bounds memory reads, but Nearest+ 1.5 is special in that it uses a macro for its pointer arithmetic. 64-bit Mac OS X isn't as forgiving as other OSes when it comes to this stuff by throwing SIGSEGV faults. This patch works around the issue by expanding the offending macro and explicitly performing the pointer arithmetic.


  • Magliocchetti Riccardo

    • assigned_to: nobody --> zeromus
  • Magliocchetti Riccardo

    This is probably not mac os x specific so what about fixing the macro for everyone and possibily move the code out of windows/ if will be used by other ports? Zeromus?

  • rogerman

    rogerman - 2011-10-03

    Sorry, I only test my patches against OS X and Windows, so I don't know what the effects would be on anything else. That's why I made the #ifdef OS X specific.

  • zeromus

    zeromus - 2012-01-20

    we fixed this another way

  • zeromus

    zeromus - 2012-01-20
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks