[FFmpeg-devel] [PATCH] lavc/jpeglsenc: fix allocation in case of negative linesize, and add malloc check
Michael Niedermayer
michaelni at gmx.at
Sun Mar 18 18:05:14 CET 2012
On Sun, Mar 18, 2012 at 04:57:13PM +0100, Stefano Sabatini wrote:
> Fix crash with negative linesizes, fix trac ticket #1078.
> ---
> libavcodec/jpeglsenc.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
patch is ok
also, if negative linesizes are supported then CODEC_CAP_NEG_LINESIZES
could be added.
also independant of the patch the docs about CODEC_CAP_NEG_LINESIZES
(if it affects encoder input / get_buffer() output should be
improved and codecs should be checked to match the docs)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20120318/cee2a6c5/attachment.asc>
More information about the ffmpeg-devel
mailing list