swscale: fix internal rgb->yv12 chroma conversion used by the main scaler path
authorRamiro Polla <ramiro.polla@gmail.com>
Mon, 6 Sep 2010 02:02:53 +0000 (02:02 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Mon, 6 Sep 2010 02:02:53 +0000 (02:02 +0000)
commita1899e0adc0761eec627fa53eda49a4912bb46ae
tree40ad9cc555530049b5af7e7b0422afe49983373d
parente778e50f63dcd48f3daad865fd25dc8020bcf405
swscale: fix internal rgb->yv12 chroma conversion used by the main scaler path

The shift must be applied before the masking.

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