rv34: fix invalid memory access for small video dimensions
For small video dimensions calculations of the upper bound for pixel
access may result in negative value. Using an unsigned comparison
works only if the greater operand is non-negative. This is fixed by
doing edge emulation explicitly for such conditions.
Signed-off-by:
Kostya Shishkov <kostya.shishkov@gmail.com>
Showing
Please
register
or
sign in
to comment