OSDN Git Service

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>
Wed, 6 Mar 2013 00:04:02 +0000 (01:04 +0100)
commit5cf7c72757779a740e897a97710aac044fe5258c
treed0744fcdcaa01041bd8c9508a04ad63e8b0901aa
parent4c364eb2b856fc33cf7b42f7c7b979e69fde5f3a
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.
libavcodec/shorten.c