summaryrefslogtreecommitdiffstats
path: root/doc/examples/metadata.c
diff options
context:
space:
mode:
authorJohn Brooks <[email protected]>2011-12-11 02:37:21 -0700
committerMichael Niedermayer <[email protected]>2012-01-05 02:23:08 +0100
commite540446f6c5ca1613eea4f9e8c5db12f1ec3925c (patch)
tree8be072d9e5de3639f935b763afe6d868561c2479 /doc/examples/metadata.c
parentfc9c5ad9ea70479d09a5d37c800665746ff4710d (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 <[email protected]> (cherry picked from commit d209c27b09234cc40bbdbd680aa502b493edf595) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/metadata.c')
0 files changed, 0 insertions, 0 deletions