lavfi/il: simplify/generalize linesize computation
authorStefano Sabatini <stefasab@gmail.com>
Sun, 10 Feb 2013 00:15:47 +0000 (01:15 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Sun, 10 Feb 2013 13:00:19 +0000 (14:00 +0100)
commit63a99622876ff79a07862167f243a7d3823b7315
tree98c4ffb1cc53527d630a571ccd21d0bac1e8c432
parentd1d9b93e9a212c030ebde1993a88694e25feee7b
lavfi/il: simplify/generalize linesize computation

Rely on generic utilities for computing each plane linesize.

In particular, add support to NV12/21 formats and avoid use of
PIX_FMT_PLANAR pixdesc flag, whose semantics is questionable.

It also fixes various crashes.
libavfilter/vf_il.c