aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/synth_filter.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-16 14:49:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-22 12:27:24 +0200
commit12e005f7e7a91a5e7cd30c486529bbbb8b2ae210 (patch)
treeeb9505f7bea67d004144e3691ec4ed5521a32acb /libavcodec/synth_filter.h
parent38c8264d193c0093b78a9394f06b98529ac8a433 (diff)
downloadffmpeg-12e005f7e7a91a5e7cd30c486529bbbb8b2ae210.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/synth_filter.h')
0 files changed, 0 insertions, 0 deletions