[PATCH] libpostprocess: remove cruft from before major bump.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libpostproc/postprocess.c | 4 ---- libpostproc/postprocess.h | 6 ------ 2 files changed, 0 insertions(+), 10 deletions(-) diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index ed5c240..230020d 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -666,11 +666,7 @@ static inline void postProcess(const uint8_t src[], int srcStride, uint8_t dst[] /* -pp Command line Help */ -#if LIBPOSTPROC_VERSION_INT < (52<<16) -const char *const pp_help= -#else const char pp_help[] = -#endif "Available postprocessing filters:\n" "Filters Options\n" "short long name short long option Description\n" diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index c2c5c73..76fcf44 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -69,13 +69,7 @@ const char *postproc_license(void); typedef void pp_context; typedef void pp_mode; -#if LIBPOSTPROC_VERSION_INT < (52<<16) -typedef pp_context pp_context_t; -typedef pp_mode pp_mode_t; -extern const char *const pp_help; ///< a simple help text -#else extern const char pp_help[]; ///< a simple help text -#endif void pp_postprocess(const uint8_t * src[3], const int srcStride[3], uint8_t * dst[3], const int dstStride[3], -- 1.7.8.3
On Mon, Jan 30, 2012 at 07:18:48PM +0100, Reimar Döffinger wrote:
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libpostproc/postprocess.c | 4 ---- libpostproc/postprocess.h | 6 ------ 2 files changed, 0 insertions(+), 10 deletions(-)
this will break --postproc-version= [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin
On Mon, Jan 30, 2012 at 08:35:28PM +0100, Michael Niedermayer wrote:
On Mon, Jan 30, 2012 at 07:18:48PM +0100, Reimar Döffinger wrote:
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libpostproc/postprocess.c | 4 ---- libpostproc/postprocess.h | 6 ------ 2 files changed, 0 insertions(+), 10 deletions(-)
this will break --postproc-version=
Guessed I missed that. Though I'm not sure how useful it is, due to e.g. the pphelp type change e.g. MPlayer depending on which code you use will will either 1) Crash with new, work fine with old 2) Work fine with new, fail to compile with old.
Hi, Reimar Döffinger wrote:
On Mon, Jan 30, 2012 at 08:35:28PM +0100, Michael Niedermayer wrote:
On Mon, Jan 30, 2012 at 07:18:48PM +0100, Reimar Döffinger wrote:
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> --- libpostproc/postprocess.c | 4 ---- libpostproc/postprocess.h | 6 ------ 2 files changed, 0 insertions(+), 10 deletions(-)
this will break --postproc-version=
Guessed I missed that. Though I'm not sure how useful it is, due to e.g. the pphelp type change e.g. MPlayer depending on which code you use will will either 1) Crash with new, work fine with old 2) Work fine with new, fail to compile with old.
If we remove the "cruft" we should also remove --postproc-version from configure at the same time. Don't know if we want to remove it from master now or if we should provide build support for old PP API/ABI a bit longer. Maybe it should be communicated to packagers if they aren't listening here. Alexander
participants (3)
-
Alexander Strasser -
Michael Niedermayer -
Reimar Döffinger