Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-03-12 05:52:46 +0300
committerJames Almer <jamrial@gmail.com>2020-03-15 15:23:00 +0300
commitfe52bffeebb76b24e948f79de9fcd99cd7071ee5 (patch)
treec8be7efb34228750d341a8683c5a07ad19f65ebe /include
parent3f185191f61a7c0d16e0ed1c16f59e8917740d77 (diff)
headers: partially revert a recent change to Dav1dLogger doxy
The callback function may be NULL, not Dav1dSettings field.
Diffstat (limited to 'include')
-rw-r--r--include/dav1d/dav1d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
index 1b0e6a0..32fe8c3 100644
--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -49,7 +49,7 @@ typedef struct Dav1dRef Dav1dRef;
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 @@ typedef struct Dav1dSettings {
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;
/**