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-20 00:50:06 +0100 |
commit | 1ed7fcd42af956979abf4e32cd3c9ee17622bbcb (patch) | |
tree | 93badcae477feccf8a26bdbafc3b7a03f808e41d /libavcodec/pictordec.c | |
parent | 9fb8c5d85344ae4ef02a00b1981b6f7d5e44ab64 (diff) | |
download | ffmpeg-streaming-1ed7fcd42af956979abf4e32cd3c9ee17622bbcb.zip ffmpeg-streaming-1ed7fcd42af956979abf4e32cd3c9ee17622bbcb.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>
Diffstat (limited to 'libavcodec/pictordec.c')
0 files changed, 0 insertions, 0 deletions