Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 17 Jan 2010 23:00:01 +0000 (23:00 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 17 Jan 2010 23:00:01 +0000 (23:00 +0000)
commitc0d1dc1c4f41ab76414e797a461efce128bda0ed
treea6440f56f44a6d0ef7ecdfcf36ff976ce600db29
parent2911e1322470630e1ab7e0e3923709e2a1b88947
Make the pal2rgbWrapper set and use the converter in pal2rgbWrapper
only if the input format is paletted.

Fix potential crashes/weirdness if the input format is non-paletted.

Originally committed as revision 30358 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c