This fixes segmentation faults, when pic->linesize[0] is negative. In that case 'line * pic->linesize[0] + pixel_ptr' is treated as unsigned and wraps around. This reverts commitpull/133/head7d78a964
. The problem was introduced in commitf7e1367f
, which should obsolete that commit. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
parent
ed2a712750
commit
ae6fd7300b
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue