Explicitly declare function parameters for GCC 15 compatibility

In GCC 15, where C23 is the default, void foo() is equivalent to void
foo(void). Therefore, functions must explicitly declare their
parameters.
This commit is contained in:
Takuya Wakazono
2024-11-30 20:16:20 +09:00
committed by pastalian
parent 95ae684d9f
commit a9f6291c3e

View File

@@ -1410,7 +1410,7 @@ mp_process_pipeline_process_image(MPBuffer buffer)
}
static void
capture()
capture(struct _MPPipeline *pipeline, const void *data)
{
setup_capture();