OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911b32f
)
Fix size of monoblack_pal array, code uses 16 values unconditionally.
author
Daniel Verkamp
<daniel@drv.nu>
Sat, 25 Dec 2010 16:09:23 +0000
(16:09 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sat, 25 Dec 2010 16:09:23 +0000
(16:09 +0000)
Patch by Daniel Verkamp [daniel drv nu].
Originally committed as revision 26088 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pcxenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcxenc.c
b/libavcodec/pcxenc.c
index
a3ce284
..
e01727f
100644
(file)
--- 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)
{