[FFmpeg-cvslog] r15148 - in trunk/libpostproc: postprocess.c postprocess.h

stefano subversion
Mon Sep 1 20:00:53 CEST 2008


Author: stefano
Date: Mon Sep  1 20:00:53 2008
New Revision: 15148

Log:
Implement postproc_version().


Modified:
   trunk/libpostproc/postprocess.c
   trunk/libpostproc/postprocess.h

Modified: trunk/libpostproc/postprocess.c
==============================================================================
--- trunk/libpostproc/postprocess.c	(original)
+++ trunk/libpostproc/postprocess.c	Mon Sep  1 20:00:53 2008
@@ -90,6 +90,11 @@ try to unroll inner for(x=0 ... loop to 
 #include "postprocess.h"
 #include "postprocess_internal.h"
 
+unsigned postproc_version(void)
+{
+    return LIBPOSTPROC_VERSION_INT;
+}
+
 #ifdef HAVE_ALTIVEC_H
 #include <altivec.h>
 #endif

Modified: trunk/libpostproc/postprocess.h
==============================================================================
--- trunk/libpostproc/postprocess.h	(original)
+++ trunk/libpostproc/postprocess.h	Mon Sep  1 20:00:53 2008
@@ -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




More information about the ffmpeg-cvslog mailing list