[FFmpeg-devel] [PATCH] lavc/sunrastenc: consider cases with linesize < 0
Michael Niedermayer
michaelni at gmx.at
Sun Mar 18 18:18:40 CET 2012
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/d5109c61/attachment.asc>
More information about the ffmpeg-devel
mailing list