From 25b6d0bc697abce3c2584205ce6efc592cfe3aec Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Tue, 27 Oct 2009 15:04:35 +0000 Subject: Only memset for palettes of 16 elements. Originally committed as revision 20377 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pcx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/pcx.c') diff --git a/libavcodec/pcx.c b/libavcodec/pcx.c index df6a8aa74a..51c9acf247 100644 --- a/libavcodec/pcx.c +++ b/libavcodec/pcx.c @@ -71,6 +71,7 @@ static void pcx_palette(const uint8_t **src, uint32_t *dst, unsigned int pallen) for (i=0; i