[FFmpeg-devel] [PATCH] Fixed crash in palette handling when converting certain .png images to .pcx or .bmp.

Michael Niedermayer 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[1] field of the AVFrame structure, but data[1] 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>

applied, thanks

[...]
-- 
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
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111227/fe3ac773/attachment.asc>


More information about the ffmpeg-devel mailing list