]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pcxenc.c
add support for files that do not allow more than 4 subframes
[ffmpeg] / libavcodec / pcxenc.c
index 43ebc8720aa3637036afba6cecd3f5582a2a8d44..e01727f3e7c8671aef9f21123ad15456d6dc2632 100644 (file)
@@ -21,7 +21,7 @@
 
 /**
  * PCX image encoder
- * @file libavcodec/pcxenc.c
+ * @file
  * @author Daniel Verkamp
  * @sa http://www.qzx.com/pc-gpe/pcx.txt
  */
@@ -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)
 {