aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_bs2b.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-16 14:49:08 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-14 19:05:11 +0200
commit4ea7ff435427dd071cf52fbf5c1b623d4054159f (patch)
treea9e1034896e298033b8a472814aa1f6c05f66e29 /libavfilter/af_bs2b.c
parent262c678357f5708ad0559270530d90af566d3d67 (diff)
downloadffmpeg-4ea7ff435427dd071cf52fbf5c1b623d4054159f.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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/af_bs2b.c')
0 files changed, 0 insertions, 0 deletions