These 2 bugs cause a significant amount of crashes on OSX especially when scanning movies and downloading images.
[fix] string copy allocated in function params can be destroyed befor…
…e access via *end pointer causing EXC_BAD_ACCESS
[fix] ffmpeg uses a 16-byte stride when scaling images, which can ove…
…rrun the texture buffer which is only 2-byte aligned, causing a segfault on OSX/iOS
awesome catch - thx - this should fix software rendering on those systems :)