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>2019-03-05 20:43:39 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2019-03-08 19:09:59 +0300
commit754487c05d0a7ee18669a6e7e7355b0ae1d4e4a8 (patch)
treeb3c031da4353cb763eb8e85f5a9df6eb5cb2478e /include/dav1d
parentd67e3476c91d408cab8e5d7fb3f29120dadb15ed (diff)
let dav1d_version() return the project version
Increments the soname revision number for this behavior change. Removes the DAV1D_VERSION and DAV1D_VERSION_INT defines and dav1d_version_vcs() and dav1d_version_int(). Also cleans up the version usage in dav1d CLI. Refs #241, #255.
Diffstat (limited to 'include/dav1d')
-rw-r--r--include/dav1d/dav1d.h10
-rw-r--r--include/dav1d/version.h.in4
2 files changed, 0 insertions, 14 deletions
diff --git a/include/dav1d/dav1d.h b/include/dav1d/dav1d.h
index 0756039..5f7db46 100644
--- a/include/dav1d/dav1d.h
+++ b/include/dav1d/dav1d.h
@@ -74,16 +74,6 @@ typedef struct Dav1dSettings {
DAV1D_API const char *dav1d_version(void);
/**
- * Get library version based on version control system.
- */
-DAV1D_API const char *dav1d_version_vcs(void);
-
-/**
- * Get library version as unsigned int.
- */
-DAV1D_API unsigned int dav1d_version_int(void);
-
-/**
* Initialize settings to default values.
*
* @param s Input settings context.
diff --git a/include/dav1d/version.h.in b/include/dav1d/version.h.in
index c9d6782..056b2cd 100644
--- a/include/dav1d/version.h.in
+++ b/include/dav1d/version.h.in
@@ -31,8 +31,4 @@
#define DAV1D_VERSION_MINOR @DAV1D_VERSION_MINOR@
#define DAV1D_VERSION_PATCH @DAV1D_VERSION_PATCH@
-#define DAV1D_VERSION "@DAV1D_VERSION_MAJOR@.@DAV1D_VERSION_MINOR@.@DAV1D_VERSION_PATCH@"
-
-#define DAV1D_VERSION_INT (@DAV1D_VERSION_MAJOR@ << 16 | @DAV1D_VERSION_MINOR@ << 8 | @DAV1D_VERSION_PATCH@)
-
#endif /* DAV1D_VERSION_H */