vp9: change type of tile_size from unsigned to int64_t
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 7 Jun 2015 16:50:43 +0000 (18:50 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 8 Jun 2015 19:43:16 +0000 (21:43 +0200)
commitb18eac7ff22332c9344769af15f7b245dd13cc64
tree468aa37a464b82f3fe154ad0c91fe22c6fced638
parente05fda99f7a4e1e80479b4e9b4a92e33dd0c06be
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>
libavcodec/vp9.c