aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorSebastian Vater <cdgs.basty@googlemail.com>2010-04-26 22:37:13 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-26 22:37:13 +0000
commit473147bed01c0c6c82d85fd79d3e1c1d65542663 (patch)
treec7bbd2dea2f22c32663c426d3c158d535fe2e912 /ffplay.c
parenta31e7956078e5039cc8a19985e4432ff94ebb0ff (diff)
downloadffmpeg-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 'ffplay.c')
0 files changed, 0 insertions, 0 deletions