aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-15 10:33:40 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-11-26 01:35:46 +0100
commit22017f7745f95ecf1d281b729471136bf74d3c73 (patch)
tree0f69bbdced8d194ee60f5b90d017dbd69c312312 /libavcodec/utils.c
parentb372ad819e35238aafe2a4667717795f61499543 (diff)
downloadffmpeg-22017f7745f95ecf1d281b729471136bf74d3c73.tar.gz
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. Reviewed-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 1ed7fcd42af956979abf4e32cd3c9ee17622bbcb) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/utils.c')
0 files changed, 0 insertions, 0 deletions