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:
authorJanne Grunau <janne-vlc@jannau.net>2020-08-21 20:21:03 +0300
committerJanne Grunau <janne-vlc@jannau.net>2020-08-23 01:31:28 +0300
commit89c57ce3ebd0520396b81ebce5a856efe93b8c7e (patch)
tree3bcef13c1c16d88a68df1f455d545bcc8513891e /include
parentacc92406ac79b6f0cfb713800a7588622658b911 (diff)
API: move reserved space in Dav1dSettings to the end
Also changes the type intptr_t to make adding variable size members more convenient.
Diffstat (limited to 'include')
-rw-r--r--include/dav1d/dav1d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
index 32fe8c3..9d484e5 100644
--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -65,9 +65,9 @@ typedef struct Dav1dSettings {
int operating_point; ///< select an operating point for scalable AV1 bitstreams (0 - 31)
int all_layers; ///< output all spatial layers of a scalable AV1 biststream
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.
+ uint8_t reserved[32]; ///< reserved for future use
} Dav1dSettings;
/**