Please sign in to comment.
[PATCH] Patch to bypass code when no pixels checked
There is a feasible (although I believe very unlikely) code path where no pixels will be checked, resulting in a number of variables not being appropriately set. This code will bypass the codes if no pixels were checked. Fixes coverity 746805 (possible division by zero) Fixes #11587. Signed-off-by: Chris Pinkham <email@example.com> I have looked at the code and can see no negative effects if we skip the blank frame section and letter/pillar-box detection code in the unlikely event that we didn't check any pixels. If we did not check any pixels, there are numerous variables within this section of code which are meaningless preventing valid detection.
- Loading branch information...
Showing with 1 addition and 1 deletion.