Closed vvshuai closed 2 years ago
I try to compile vf_gltransition.c, but display libavfilter/vf_gltransition.c:573:3: error: unknown field 'query_formats' specified in initializer .query_formats = query_formats, libavfilter/vf_gltransition.c:573:3: warning: missing braces around initializer [-Wmissing-braces] libavfilter/vf_gltransition.c:573:3: warning: (near initialization for 'ff_vf_gltransition.formats') [-Wmissing-braces] make: *** [libavfilter/vf_gltransition.o] Error 1
No programming syntax errors were found
I found the reason why the compilation failed. “.query_formats = query_formats” can replace "FILTER_QUERY_FUNC(query_formats)"
I try to compile vf_gltransition.c, but display libavfilter/vf_gltransition.c:573:3: error: unknown field 'query_formats' specified in initializer .query_formats = query_formats, libavfilter/vf_gltransition.c:573:3: warning: missing braces around initializer [-Wmissing-braces] libavfilter/vf_gltransition.c:573:3: warning: (near initialization for 'ff_vf_gltransition.formats') [-Wmissing-braces] make: *** [libavfilter/vf_gltransition.o] Error 1
No programming syntax errors were found