Commit 0f6d4da8 authored by Committed by Reinhard Tartler
bmpdec: only initialize palette for pal8.
Gray8 is not considered to be paletted, so this would cause an invalid write. Fixes bug 367. CC: firstname.lastname@example.org (cherry picked from commit 8b78c296) Signed-off-by: Anton Khirnov <email@example.com>
Showing with 3 additions and 3 deletions