ref: fe52bffeebb76b24e948f79de9fcd99cd7071ee5
parent: 3f185191f61a7c0d16e0ed1c16f59e8917740d77
author: James Almer <[email protected]>
date: Wed Mar 11 19:52:46 EDT 2020
headers: partially revert a recent change to Dav1dLogger doxy The callback function may be NULL, not Dav1dSettings field.
--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -49,7 +49,7 @@
typedef struct Dav1dLogger {
void *cookie; ///< Custom data to pass to the callback.
/**
- * Logger callback.
+ * Logger callback. May be NULL to disable logging.
*
* @param cookie Custom pointer passed to all calls.
* @param format The vprintf compatible format string.
@@ -67,7 +67,7 @@
unsigned frame_size_limit; ///< maximum frame size, in pixels (0 = unlimited)
uint8_t reserved[32]; ///< reserved for future use
Dav1dPicAllocator allocator; ///< Picture allocator callback.
- Dav1dLogger logger; ///< Logger callback. May be set to NULL to disable logging.
+ Dav1dLogger logger; ///< Logger callback.
} Dav1dSettings;
/**