]> git.sesse.net Git - ffmpeg/commit
hqx: correct type and size check of info_offset
authorAndreas Cadhalpun <andreas.cadhalpun@gmail.com>
Sun, 15 Nov 2015 09:50:44 +0000 (10:50 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 16 Nov 2015 11:56:03 +0000 (12:56 +0100)
commit9fd2bf09dbc630484d9e88a1d27f7e8508b70a2c
treea99a08bb44351e6174fc9db303429f9110406956
parent0a8bff788b0a9f96b863f0e836a235cb1d223f55
hqx: correct type and size check of info_offset

It is used as size argument of ff_canopus_parse_info_tag, which uses it
as size argument to bytestream2_init, which only supports sizes up to
INT_MAX.
Changing it's type to unsigned simplifies the check.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/hqx.c