build: Allow building old API/ABI libpostproc version

Allows our users to still build against a libpostproc with the old
API/ABI. Distributions can use this option to defer the soname bump.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Alexander Strasser
2012-01-24 02:54:57 +01:00
committed by Michael Niedermayer
parent 5dfc7f7342
commit 79f80f5c1f
2 changed files with 32 additions and 1 deletions

View File

@ -29,9 +29,11 @@
#include "libavutil/avutil.h"
#ifndef LIBPOSTPROC_VERSION_MAJOR
#define LIBPOSTPROC_VERSION_MAJOR 52
#define LIBPOSTPROC_VERSION_MINOR 0
#define LIBPOSTPROC_VERSION_MICRO 100
#endif
#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \
LIBPOSTPROC_VERSION_MINOR, \