diff options
Diffstat (limited to 'video/filter/vf_lavfi.c')
-rw-r--r-- | video/filter/vf_lavfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/filter/vf_lavfi.c b/video/filter/vf_lavfi.c index da455f1c09..a356229a30 100644 --- a/video/filter/vf_lavfi.c +++ b/video/filter/vf_lavfi.c @@ -268,7 +268,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt) // allow us to do anything more sophisticated. // This breaks with filters which accept input pixel formats not // supported by libswscale. - return mp_sws_supported_format(fmt) ? VFCAP_CSP_SUPPORTED : 0; + return !!mp_sws_supported_format(fmt); } static AVFrame *mp_to_av(struct vf_instance *vf, struct mp_image *img) |