aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1dec.c
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@bluecherry.net>2012-01-03 23:27:35 -0700
committerMichael Niedermayer <michaelni@gmx.at>2012-01-05 02:23:02 +0100
commitfc9c5ad9ea70479d09a5d37c800665746ff4710d (patch)
tree0a837994d088cb332d408715deff284ab6bbf852 /libavcodec/vc1dec.c
parent68f121269694d61c137f046ea8f51ce717e57d7c (diff)
downloadffmpeg-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 'libavcodec/vc1dec.c')
0 files changed, 0 insertions, 0 deletions