vf_format: rework format list parsing
authorAnton Khirnov <anton@khirnov.net>
Sat, 24 May 2014 09:15:15 +0000 (11:15 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 26 May 2014 20:22:42 +0000 (22:22 +0200)
commit45fc73edfe071f9690e8671ed2dc402b1cb02ece
tree91acd1808469c3715ae7ec8367f3b2e73c91e7a9
parent4d8c28deab2488579f585406110b1be790896e59
vf_format: rework format list parsing

Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
libavfilter/vf_format.c