[FFmpeg-devel] [PATCH] Fixed crash in palette handling when converting certain .png images to .pcx or .bmp.
michaelni at gmx.at
Tue Dec 27 23:58:27 CET 2011
On Tue, Dec 27, 2011 at 08:47:49PM +0100, Frank Vernaillen wrote:
> The existing code expected a palette buffer holding 256 uint32_t's allocated in the data field of the AVFrame structure, but data was NULL. The bug is fixed by using a fixed local array (palette256) to hold the palette instead.
> This solves http://ffmpeg.org/trac/ffmpeg/ticket/833
> Signed-off-by: Frank Vernaillen <fr_ve at hotmail.com>
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel