Another overflow fix.
authorTim Terriberry <tterribe@xiph.org>
Wed, 4 May 2011 19:27:58 +0000 (19:27 +0000)
committerTim Terriberry <tterribe@xiph.org>
Wed, 4 May 2011 19:27:58 +0000 (19:27 +0000)
commitb758596b42258ee9acf0d5233efb67a11250fafa
treee7ab9aedef109eb0d131f560eb117f4b698892a1
parent3c04b48d694b0bc9c61b3e562dc3c70b9f937882
Another overflow fix.

This extends the fix from r17276 dealing with the removal of the DC
 skip-prevention flag in r17174.
If we allow SKIPing even when the cost is right near the maximum
 representable SSD, then the cost of other blocks can push it over
 the edge, causing us to randomly skip a block halfway through the
 macroblock.

svn path=/trunk/theora/; revision=17959
lib/analyze.c