提交 13011def 编写于 作者: D Daniel Verkamp 提交者: 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
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册