]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Implement postproc_version().
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 1 Sep 2008 18:00:53 +0000 (18:00 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 1 Sep 2008 18:00:53 +0000 (18:00 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libpostproc/postprocess.c
libpostproc/postprocess.h

index a74a64718a7ccab6debee14446fa67cd4bbc2020..79db062d0a319162ebd9baeda0fd230bdc3e145c 100644 (file)
@@ -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
index f4a83f0050c0f6bf020e6678233b0f7ad9e72468..2a1d6d532680869cfa485e468225913634b53b56 100644 (file)
@@ -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, \
 
 #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