diff options
author | Andreas Cadhalpun <[email protected]> | 2015-04-16 14:49:08 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-04-16 16:03:24 +0200 |
commit | 800d974cc41fce40b69a6386b3ad0fd618835698 (patch) | |
tree | 4bb175bef2b90b71aabc1c9050e71e61c0526b66 /libavcodec/file_open.c | |
parent | 82d3dd44aad41a12b37f8bbd01b893c7fa3e13c2 (diff) |
msrledec: use signed pixel_ptr in msrle_decode_pal4
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 commit 7d78a964.
The problem was introduced in commit f7e1367f, which should obsolete
that commit.
Signed-off-by: Andreas Cadhalpun <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit ae6fd7300b4e9f81d3b5ba201096ffe7cccf26fb)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/file_open.c')
0 files changed, 0 insertions, 0 deletions