This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Only memset for palettes of 16 elements.
Originally committed as revision 20377 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Benoit Fouet
16 years ago
parent
6d7d410f8b
commit
25b6d0bc69
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/pcx.c
+ 1
- 0
libavcodec/pcx.c
View File
@@ -71,6 +71,7 @@ static void pcx_palette(const uint8_t **src, uint32_t *dst, unsigned int pallen)
for (i=0; i<pallen; i++)
*dst++ = bytestream_get_be24(src);
if (pallen < 256)
memset(dst, 0, (256 - pallen) * sizeof(*dst));
}
Write
Preview
Loading…
Cancel
Save