diff options
author | Sebastian Vater <cdgs.basty@googlemail.com> | 2010-04-26 22:37:13 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-26 22:37:13 +0000 |
commit | 473147bed01c0c6c82d85fd79d3e1c1d65542663 (patch) | |
tree | c7bbd2dea2f22c32663c426d3c158d535fe2e912 /libavcodec/svq1.c | |
parent | a31e7956078e5039cc8a19985e4432ff94ebb0ff (diff) | |
download | ffmpeg-473147bed01c0c6c82d85fd79d3e1c1d65542663.tar.gz |
Switch some ints to unsigned (they can only have positive values, this allows
compiler to optimize some math from mul/div to shr/shl). Also add a cast to
uint32_t when calling decodeplane32(), this silences a compiler warning.
Lastly, in decodeplane8/32(), flatten a double-loop into a single-loop and
calculate the length once before entering the loop instead of during every
iteration (since it doesn't change).
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq1.c')
0 files changed, 0 insertions, 0 deletions