diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-04-16 14:49:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:10 +0200 |
commit | 97b137a64071354f527926ac7d131ebf130fc987 (patch) | |
tree | 293d0379e2494b9f5f14ffa58c2ab14122c76717 /libavcodec/dvbsub_parser.c | |
parent | a5e2f793170bc9daaf270a3ad1914cc05af45b7a (diff) | |
download | ffmpeg-97b137a64071354f527926ac7d131ebf130fc987.tar.gz |
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 <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ae6fd7300b4e9f81d3b5ba201096ffe7cccf26fb)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvbsub_parser.c')
0 files changed, 0 insertions, 0 deletions