diff options
author | John Brooks <john.brooks@bluecherry.net> | 2012-01-03 23:27:35 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-05 02:23:02 +0100 |
commit | fc9c5ad9ea70479d09a5d37c800665746ff4710d (patch) | |
tree | 0a837994d088cb332d408715deff284ab6bbf852 /ffmpeg.c | |
parent | 68f121269694d61c137f046ea8f51ce717e57d7c (diff) | |
download | ffmpeg-fc9c5ad9ea70479d09a5d37c800665746ff4710d.tar.gz |
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>
(cherry picked from commit aacf6b3a2fd8bc8603e3deaa6e612ea03cf08707)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions