aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lossless_videodsp.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-07 18:50:43 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-20 14:29:12 +0200
commit9da5ba1f57a4185d97edac743b42215319307b8c (patch)
treea1b330a626925c707ea2039ff664f03d4f14868f /libavcodec/lossless_videodsp.c
parent8c8406462bb523e576c794b9d200bb939467b1c0 (diff)
downloadffmpeg-9da5ba1f57a4185d97edac743b42215319307b8c.tar.gz
vp9: change type of tile_size from unsigned to int64_t
Otherwise the check 'tile_size < size' treats a negative size as unsigned, causing the check to pass. This subsequently leads to segmentation faults. This was originally fixed as part of Libav commit 72ca83, so the original author is one of the following developers: Anton Khirnov <anton@khirnov.net> Diego Biurrun <diego@biurrun.de> Luca Barbato <lu_zero@gentoo.org> Martin Storsjö <martin@martin.st> Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit b18eac7ff22332c9344769af15f7b245dd13cc64) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lossless_videodsp.c')
0 files changed, 0 insertions, 0 deletions