avfilter/vf_format: Check pix_fmts before dereferencing it
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Jul 2014 00:05:34 +0000 (02:05 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Jul 2014 00:29:49 +0000 (02:29 +0200)
commit126524720661a9adddec758e94729007a96f07f7
treed814af7138404ba6e599cc23382bfd9063ea083e
parent5ab67340f9d1ac79961a356d30a9967bb05b2c13
avfilter/vf_format: Check pix_fmts before dereferencing it

Fixes CID1224286

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_format.c