diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-15 10:33:40 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-11-26 01:37:13 +0100 |
commit | 67ed1ee680b70c23c0262776e4807f0df734512b (patch) | |
tree | fbe0cedb5e7c861888cb6a81e5c9138d93693a9a /libavutil/parseutils.c | |
parent | 1f6c88e287d122e089c07d27c669a26f9f394b63 (diff) | |
download | ffmpeg-67ed1ee680b70c23c0262776e4807f0df734512b.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 'libavutil/parseutils.c')
0 files changed, 0 insertions, 0 deletions