diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-03-12 22:56:58 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-03-12 23:03:02 +0100 |
commit | dd0090eb211219377bf43a034749d8e6524015eb (patch) | |
tree | 5c843c6606febeb189b0ef353bfb3f4bfabb192b | |
parent | 2b790b1c9e3bf8f4fbc56fc3a071f2015b58de21 (diff) | |
download | ffmpeg-dd0090eb211219377bf43a034749d8e6524015eb.tar.gz |
avcodec/xpmdec: fix colors values which are different for X11
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/xpmdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/xpmdec.c b/libavcodec/xpmdec.c index 592f81ac3c..b9b2551ec1 100644 --- a/libavcodec/xpmdec.c +++ b/libavcodec/xpmdec.c @@ -92,8 +92,8 @@ static const ColorEntry color_table[] = { { "GhostWhite", 0xFFF8F8FF }, { "Gold", 0xFFFFD700 }, { "GoldenRod", 0xFFDAA520 }, - { "Gray", 0xFF808080 }, - { "Green", 0xFF008000 }, + { "Gray", 0xFFBEBEBE }, + { "Green", 0xFF00FF00 }, { "GreenYellow", 0xFFADFF2F }, { "HoneyDew", 0xFFF0FFF0 }, { "HotPink", 0xFFFF69B4 }, @@ -122,7 +122,7 @@ static const ColorEntry color_table[] = { { "LimeGreen", 0xFF32CD32 }, { "Linen", 0xFFFAF0E6 }, { "Magenta", 0xFFFF00FF }, - { "Maroon", 0xFF800000 }, + { "Maroon", 0xFFB03060 }, { "MediumAquaMarine", 0xFF66CDAA }, { "MediumBlue", 0xFF0000CD }, { "MediumOrchid", 0xFFBA55D3 }, @@ -155,7 +155,7 @@ static const ColorEntry color_table[] = { { "Pink", 0xFFFFC0CB }, { "Plum", 0xFFDDA0DD }, { "PowderBlue", 0xFFB0E0E6 }, - { "Purple", 0xFF800080 }, + { "Purple", 0xFFA020F0 }, { "Red", 0xFFFF0000 }, { "RosyBrown", 0xFFBC8F8F }, { "RoyalBlue", 0xFF4169E1 }, |