[FFmpeg-devel] [PATCH]Support 1bpp and 4bpp palettized sunrast images

Michael Niedermayer michaelni at gmx.at
Mon Jan 9 19:23:39 CET 2012

On Mon, Jan 09, 2012 at 06:45:58AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> Attached patch fixes tickets #864 and #897 for me.
> get_buffer() fails for PIX_FMT_NONE, so I did not add an additional check, and 
> I assumed av_image_check_size() avoids that (w+15)*h overflows.
> Please review, Carl Eugen



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- 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/20120109/67c838e1/attachment.asc>

More information about the ffmpeg-devel mailing list