lavfi/mptestsrc: fix invalid access in case of negative linesize
authorStefano Sabatini <stefasab@gmail.com>
Wed, 17 Apr 2013 20:11:21 +0000 (22:11 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 18 Apr 2013 21:47:44 +0000 (23:47 +0200)
commitc6a43a72444adafeeb859f2247b9ac03f20b6672
tree7cc72dbfd693e75ab08e20433e3484abfcbbf8bd
parent7c1a002c78f15470f76d5c03e619b954d1a22839
lavfi/mptestsrc: fix invalid access in case of negative linesize

In particular, fix crash with:
ffplay -f lavfi mptestsrc,vflip
libavfilter/vsrc_mptestsrc.c