changeset 111:bf39174d9785 libpostproc

Implement postproc_version().
author stefano
date Mon, 01 Sep 2008 18:00:53 +0000
parents 858be852c955
children d4d919ebc31c
files postprocess.c postprocess.h
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/postprocess.c	Sun Aug 31 07:39:47 2008 +0000
+++ b/postprocess.c	Mon Sep 01 18:00:53 2008 +0000
@@ -90,6 +90,11 @@
 #include "postprocess.h"
 #include "postprocess_internal.h"
 
+unsigned postproc_version(void)
+{
+    return LIBPOSTPROC_VERSION_INT;
+}
+
 #ifdef HAVE_ALTIVEC_H
 #include <altivec.h>
 #endif
--- a/postprocess.h	Sun Aug 31 07:39:47 2008 +0000
+++ b/postprocess.h	Mon Sep 01 18:00:53 2008 +0000
@@ -30,7 +30,7 @@
 #include "libavutil/avutil.h"
 
 #define LIBPOSTPROC_VERSION_MAJOR 51
-#define LIBPOSTPROC_VERSION_MINOR  1
+#define LIBPOSTPROC_VERSION_MINOR  2
 #define LIBPOSTPROC_VERSION_MICRO  0
 
 #define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \
@@ -43,6 +43,11 @@
 
 #define LIBPOSTPROC_IDENT       "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)
 
+/**
+ * Returns the LIBPOSTPROC_VERSION_INT constant.
+ */
+unsigned postproc_version(void);
+
 #define PP_QUALITY_MAX 6
 
 #define QP_STORE_T int8_t