Commit 13011def authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Reimar Döffinger

Fix size of monoblack_pal array, code uses 16 values unconditionally.

Patch by Daniel Verkamp [daniel drv nu].

Originally committed as revision 26088 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 911b32f4
......@@ -33,7 +33,7 @@ typedef struct PCXContext {
AVFrame picture;
} PCXContext;
static const uint32_t monoblack_pal[] = { 0x000000, 0xFFFFFF };
static const uint32_t monoblack_pal[16] = { 0x000000, 0xFFFFFF };
static av_cold int pcx_encode_init(AVCodecContext *avctx)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment