diff options
author | James Almer <jamrial@gmail.com> | 2020-03-12 05:52:46 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-03-15 15:23:00 +0300 |
commit | fe52bffeebb76b24e948f79de9fcd99cd7071ee5 (patch) | |
tree | c8be7efb34228750d341a8683c5a07ad19f65ebe /include/dav1d/dav1d.h | |
parent | 3f185191f61a7c0d16e0ed1c16f59e8917740d77 (diff) |
headers: partially revert a recent change to Dav1dLogger doxy
The callback function may be NULL, not Dav1dSettings field.
Diffstat (limited to 'include/dav1d/dav1d.h')
-rw-r--r-- | include/dav1d/dav1d.h | 4 |
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; /** |