[FFmpeg-devel] [PATCH] lavc/sunrastenc: consider cases with linesize < 0

Stefano Sabatini stefasab at gmail.com
Sun Mar 18 21:58:55 CET 2012


On date Sunday 2012-03-18 18:18:40 +0100, Michael Niedermayer encoded:
> On Sun, Mar 18, 2012 at 04:57:28PM +0100, Stefano Sabatini wrote:
> > Make sunrast_image_write_image() deals with cases when linesize is < 0.
> > Fix trac ticket #1077.
> > ---
> >  libavcodec/sunrastenc.c |    4 ++--
> >  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> i think it would be simpler to add a y variable and test against height
> instead of fliping < vs. > checks

Updated.
-- 
FFmpeg = Faithless and Frightening Mega Problematic Entertaining Gymnast
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavc-sunrastenc-consider-cases-with-linesize-0.patch
Type: text/x-diff
Size: 2596 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120318/ef07fe3c/attachment.bin>


More information about the ffmpeg-devel mailing list