]> git.sesse.net Git - ffmpeg/commit
lavfi/alphaextract: drop cur_linesize = out_linesize branch in draw_slice()
authorStefano Sabatini <stefasab@gmail.com>
Fri, 7 Dec 2012 17:36:58 +0000 (18:36 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 7 Dec 2012 18:09:47 +0000 (19:09 +0100)
commit1f467220cfd1664782b1fe210bbc9342ad460fd2
tree42e7ecb7045d537951fa159995cac4ca22a407a2
parentfe63d4130235390603df3e91e8a7ac9b3bf05308
lavfi/alphaextract: drop cur_linesize = out_linesize branch in draw_slice()

The code causes uninitialized data copy, and may be actually slower than
a loop over each line in case the padding is big.
libavfilter/vf_alphaextract.c