mirror of https://github.com/FFmpeg/FFmpeg.git
Given that the code currently accepts only 27 bits long Huffman codes, the shift 1 << (length - 1) with length in 1..28 that is performed when parsing the tree is safe. Yet if this limit were ever expanded to the full 32 bits, this shift would be potentially undefined. So simply use unsigned. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/352/head
parent
056a8fc071
commit
01dbcbb37a
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue