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:

committed by
pastalian

parent
95ae684d9f
commit
a9f6291c3e
@@ -1410,7 +1410,7 @@ mp_process_pipeline_process_image(MPBuffer buffer)
|
||||
}
|
||||
|
||||
static void
|
||||
capture()
|
||||
capture(struct _MPPipeline *pipeline, const void *data)
|
||||
{
|
||||
setup_capture();
|
||||
|
||||
|
Reference in New Issue
Block a user