shithub: dav1d

Download patch

ref: 6d87752bbaa75c80a98db558386e46c59c7bbf6f
parent: e4ee4532e588e3df18bb9c812d4541884821fc43
author: James Almer <jamrial@gmail.com>
date: Thu Nov 29 17:34:18 EST 2018

common: make it clear that the default values in Dav1dDataProps mean unknown

--- a/include/dav1d/common.h
+++ b/include/dav1d/common.h
@@ -52,9 +52,9 @@
  * used internally.
  */
 typedef struct Dav1dDataProps {
-    int64_t timestamp; ///< container timestamp of input data, default INT64_MIN
-    int64_t duration; ///< container duration of input data, default -1
-    int64_t offset; ///< stream offset of input data, default -1
+    int64_t timestamp; ///< container timestamp of input data, INT64_MIN if unknown (default)
+    int64_t duration; ///< container duration of input data, -1 if unknown (default)
+    int64_t offset; ///< stream offset of input data, -1 if unknown (default)
     size_t size; ///< packet size, default Dav1dData.sz
 } Dav1dDataProps;