summaryrefslogtreecommitdiff
path: root/libavcodec/pcxenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pcxenc.c')
-rw-r--r--libavcodec/pcxenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pcxenc.c b/libavcodec/pcxenc.c
index a3ce284b5b..e01727f3e7 100644
--- a/libavcodec/pcxenc.c
+++ b/libavcodec/pcxenc.c
@@ -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)
{