aboutsummaryrefslogtreecommitdiffstats
path: root/libpostproc
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-09-01 18:00:53 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-09-01 18:00:53 +0000
commit2a4a62bffc513313de5b977ca6c00f560051047d (patch)
treefd93e9fbf7b275a9026e775da4ec38a8559ad4cb /libpostproc
parentbdf6972c4b7b2c60a8824e47b9b64e95686abbb6 (diff)
downloadffmpeg-2a4a62bffc513313de5b977ca6c00f560051047d.tar.gz
Implement postproc_version().
Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess.c5
-rw-r--r--libpostproc/postprocess.h7
2 files changed, 11 insertions, 1 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index a74a64718a..79db062d0a 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -90,6 +90,11 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#include "postprocess.h"
#include "postprocess_internal.h"
+unsigned postproc_version(void)
+{
+ return LIBPOSTPROC_VERSION_INT;
+}
+
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h
index f4a83f0050..2a1d6d5326 100644
--- a/libpostproc/postprocess.h
+++ b/libpostproc/postprocess.h
@@ -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