# HG changeset patch # User stefano # Date 1220292053 0 # Node ID bf39174d9785ff068f8eed032db56aa77aa4ad2e # Parent 858be852c955dd59dc23f79e8be13260fd88d601 Implement postproc_version(). diff -r 858be852c955 -r bf39174d9785 postprocess.c --- 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 #endif diff -r 858be852c955 -r bf39174d9785 postprocess.h --- 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