shorten: use the unsigned type where needed
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 5 Mar 2013 16:12:35 +0000 (17:12 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 12 Mar 2013 12:37:10 +0000 (13:37 +0100)
commit88089eecfd7e604d40d078b4f4206c647cb2e2b4
tree25145631b8b8af38c274399f31e5a2604bb5d01b
parent0daf1428e82926dc5a8c72a0ff4c93aaa8a84ed9
shorten: use the unsigned type where needed

get_uint returns an unsigned value, use an unsigned to store
blocksize to make sure the comparison logic is correct and report
correctly the error for the channel count not supported.

CC: libav-stable@libav.org
(cherry picked from commit 5cf7c72757779a740e897a97710aac044fe5258c)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/shorten.c