OSDN Git Service

vf_scale: use the pixfmt descriptor API
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:24:46 +0000 (22:24 +0200)
commit862f33c10ea38ea49fa4188725df5e5246dbd1d8
treec5aa7b9c8be256e46bd30bb2905af7ee6b137c36
parent45fc73edfe071f9690e8671ed2dc402b1cb02ece
vf_scale: use the pixfmt descriptor API

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_scale.c