Revert r31153. It failed to build on:x86_64 / Mac OS X gcc 4.0.1x86_64 / Linux icc (all)x86_64 / Linux gcc 4.0.4x86_64 / OpenBSD gcc 3.3.5x86_64 / Linux suncc 5.10and there are some reports of crashes.
Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Use int instead of long to pass width parameters in non-public functions.long was being incorrectly used as an x86-sized register, both for 32 and 64bits, but this is not the case in win64.
Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
swscale: Check for return values of malloc.
Originally committed as revision 29584 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Cosmetics:- Place curly brackets in the same line as while/for/if/switch/else/do;- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Indent libswscale:- Use 4 spaces throughout for indentation;- Fix inconsistent indentation;- Indent function calls and declarations aligning arguments on multiple lines to the column after the opening parentheses;- Align asm code to the column 4 spaces after the call to asm();...
Rename cs_test.c --> colorspace-test.c. This is more consistent with the namesof other test programs and more descriptive of what the program does.
Originally committed as revision 29067 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale