Browse Source

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
tags/n0.8
Daniel Verkamp Reimar Döffinger 14 years ago
parent
commit
13011def1f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pcxenc.c

+ 1
- 1
libavcodec/pcxenc.c View File

@@ -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)
{


Loading…
Cancel
Save