mirror of https://github.com/FFmpeg/FFmpeg.git
If slice_type is > 9, the access to ff_h264_golomb_to_pict_type is out-of-bounds. Fix this by simply setting the slice_type to 0 in this case. This is completely inconsequential because the value is only being used to being used as an offset in the calculation of the film grain seed value, a corruption of which is practically invisible. Fixes coverity ticket #1490802 Signed-off-by: James Almer <jamrial@gmail.com>pull/365/head
parent
b492cacffd
commit
94653e0dee
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue