diff options
author | John Brooks <john.brooks@bluecherry.net> | 2012-01-03 23:27:35 -0700 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-01-04 10:32:23 +0100 |
commit | aacf6b3a2fd8bc8603e3deaa6e612ea03cf08707 (patch) | |
tree | 4a0298252fe006b4b2442804a63f9dfdb9322b04 /libavformat/aviobuf.c | |
parent | 98f24ecd6cfc9c57a555aae6bfcd3d9a4ce9503d (diff) | |
download | ffmpeg-aacf6b3a2fd8bc8603e3deaa6e612ea03cf08707.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>
Diffstat (limited to 'libavformat/aviobuf.c')
0 files changed, 0 insertions, 0 deletions