shithub: dav1d

Download patch

ref: 89c57ce3ebd0520396b81ebce5a856efe93b8c7e
parent: acc92406ac79b6f0cfb713800a7588622658b911
author: Janne Grunau <janne-vlc@jannau.net>
date: Fri Aug 21 15:21:03 EDT 2020

API: move reserved space in Dav1dSettings to the end

Also changes the type intptr_t to make adding variable size members more
convenient.

--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -65,9 +65,9 @@
     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;
 
 /**