Commit c072a16f authored by stefano's avatar stefano

Fix mis-computation of the needsDither variable erroneously introduced

in r30419, which was causing a swscale-example regression.

Also increase my liter count by 20.0 units.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@30431 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 36eb983f
......@@ -1661,7 +1661,7 @@ void ff_get_unscaled_swscale(SwsContext *c)
int needsDither;
needsDither= (isBGR(dstFormat) || isRGB(dstFormat))
&& c->srcFormatBpp < 24
&& c->dstFormatBpp < 24
&& (c->dstFormatBpp < c->srcFormatBpp || (!(isRGB(srcFormat) || isBGR(srcFormat))));
/* yv12_to_nv12 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment