Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Paul B Mahol
6ad4560031
mss1: improve check if decoded pivot is invalid
The pivot has to lie between 0 and base.
Check of ==base is insufficient.
Thus replace it by a proper check.
Fixes out of array write.
Fixes bug #1531 .
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Kostya Shishkov
ed219ed366
mss1: fix decoding masked regions in interframes
Spotted by Alberto Delmás
13 years ago
Kostya Shishkov
15358ade15
mss1: validate number of changeable palette entries
13 years ago
Kostya Shishkov
8f5d573a83
mss1: report palette changed when some additional colours were decoded
13 years ago
Carl Eugen Hoyos
c77bcbbb32
Signal MSS1 palette change.
Reviewed-by: Paul B Mahol
13 years ago
Paul B Mahol
e3c2670539
mss1: check number of free colours
Prevents out of array write.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Carl Eugen Hoyos
bec21ce7f4
Make MSS1 palette opaque.
13 years ago
Kostya Shishkov
005c80b645
MS Screen 1 decoder
13 years ago