summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorJohn Brooks <john.brooks@bluecherry.net>2011-12-11 02:37:21 -0700
committerKostya Shishkov <kostya.shishkov@gmail.com>2012-01-04 10:35:26 +0100
commitd209c27b09234cc40bbdbd680aa502b493edf595 (patch)
treec7940a66137507683f77d2e954cef0ae4b67a908 /libavformat/aviobuf.c
parentaacf6b3a2fd8bc8603e3deaa6e612ea03cf08707 (diff)
vc1dec: fix invalid memory access for small video dimensions
For small video dimensions, these calculations of the upper bound for pixel access may have a negative result. Using an unsigned comparison to bound a potentially negative value only works if the greater operand is non-negative. Fixed by doing edge emulation when the upper bound is probably negative, everywhere that this pattern appears. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavformat/aviobuf.c')
0 files changed, 0 insertions, 0 deletions