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
This commit is contained in:

committed by
Reimar Döffinger

parent
911b32f482
commit
13011def1f
@@ -33,7 +33,7 @@ typedef struct PCXContext {
|
|||||||
AVFrame picture;
|
AVFrame picture;
|
||||||
} PCXContext;
|
} 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)
|
static av_cold int pcx_encode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user