lavf/qsv_vpp: check the return value of ff_formats_ref()
authorZhong Li <zhong.li@intel.com>
Mon, 20 Nov 2017 09:14:34 +0000 (04:14 -0500)
committerMark Thompson <sw@jkqxz.net>
Mon, 20 Nov 2017 15:47:05 +0000 (15:47 +0000)
commitf7d77b4112f70a15552fbce2ce3d10a4186571b1
tree179d59f55922a846dfa6e25d41645a56fcf68747
parent81c615f0feb2a871b75c7fa6d895e7e92a570f7c
lavf/qsv_vpp: check the return value of ff_formats_ref()

Fixes the build warning of "ignoring return value of ‘ff_formats_ref’,
declared with attribute warn_unused_result"

Signed-off-by: Zhong Li <zhong.li@intel.com>
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: Mark Thompson <sw@jkqxz.net>
libavfilter/vf_vpp_qsv.c