mss2: simplify loop in decode_rle()
authorAlberto Delmás <adelmas@gmail.com>
Mon, 3 Sep 2012 15:32:01 +0000 (17:32 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Thu, 6 Sep 2012 18:48:07 +0000 (20:48 +0200)
commit290d1022b2d90503735728d7feed35a53a69f631
tree381cad882e4add9e46ea3de0dec10374032fd664
parent9699b3a2d7ebc62ae58c4e70997190f5f7b45d27
mss2: simplify loop in decode_rle()

It calculates the sum of power of two series, which can be done in one step.

Suggested by Michael Niedermayer <michaelni@gmx.at>

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
libavcodec/mss2.c