Compute the max pixel step for each plane, and use it in place of
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 30 Jul 2010 11:33:31 +0000 (11:33 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 30 Jul 2010 11:33:31 +0000 (11:33 +0000)
commitb59d12b1b920c0bbdaca5ec59e4d56ffa1535d1d
tree73561794516cab735f6858eaf3972555d5abf599
parent92dd4959df59b92e9b2ac20ddebb0522b906d294
Compute the max pixel step for each plane, and use it in place of
hardcoding that value in a switch.

More compact and correct.

Originally committed as revision 24594 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavfilter/vf_crop.c