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:
authorJean-Yves Avenard <jyavenard@mozilla.com>2018-11-29 20:16:37 +0300
committerJean-Yves Avenard <jyavenard@mozilla.com>2018-11-29 22:18:03 +0300
commit9e08ac7112b6a4fef6e1dde6152ceef1117aa6f4 (patch)
treeeceb1c23ddb37ea5b4d1285428e49ee7ff23624e /include
parent8ec9793a9a0abc31f84f3e118deb58b00af1a158 (diff)
Make Dav1dDataProps::timestamp and offset signed.
Diffstat (limited to 'include')
-rw-r--r--include/dav1d/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dav1d/common.h b/include/dav1d/common.h
index 9da18ac..25fd54a 100644
--- a/include/dav1d/common.h
+++ b/include/dav1d/common.h
@@ -52,9 +52,9 @@
* used internally.
*/
typedef struct Dav1dDataProps {
- uint64_t timestamp; ///< container timestamp of input data, default -1
+ int64_t timestamp; ///< container timestamp of input data, default INT64_MIN
uint64_t duration; ///< container duration of input data, default -1
- uint64_t offset; ///< stream offset of input data, default -1
+ int64_t offset; ///< stream offset of input data, default INT64_MIN
size_t size; ///< packet size, default Dav1dData.sz
} Dav1dDataProps;