lavc/sunrastenc: consider cases with linesize < 0
authorStefano Sabatini <stefasab@gmail.com>
Sun, 18 Mar 2012 15:55:53 +0000 (16:55 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 19 Mar 2012 18:01:40 +0000 (19:01 +0100)
commit11642cd16f1b18232bdeca4cddb2dd7c11cbd2f3
tree83603c54dc49c5189b41a32ba3f7d1d2e49e6484
parentf645132061141e1ab8e243eea00d3eac17f43b0f
lavc/sunrastenc: consider cases with linesize < 0

Make sunrast_image_write_image() deal with cases when linesize is < 0.
Fix trac ticket #1077.
libavcodec/sunrastenc.c