shithub: dav1d

Download patch

ref: e88c8eedc00240eb10fc597ce8d23f2173ff30c8
parent: 3e0ec4cde1aecac8ded7ac49730d574f89341a4c
author: James Almer <jamrial@gmail.com>
date: Tue May 21 15:09:23 EDT 2019

dav1d: reserve some bytes in Dav1dSettings

This way adding new fields in the future will not require breaking ABI

--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -65,6 +65,7 @@
     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;
     Dav1dLogger logger;
 } Dav1dSettings;