Re: [libav-devel] [PATCH] libpostproc: Remove crufty code disabled by the big bump.
On Tue, Apr 19, 2011 at 10:12:10PM +0200, Diego Biurrun wrote: > --- > 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 73ffcb4..d7c99e2 100644 > --- a/libpostproc/postprocess.c > +++ b/libpostproc/postprocess.c > @@ -695,11 +695,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" > "FiltersOptions\n" > "short long name short long option Description\n" > diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h > index 9e74589..fe8c9b9 100644 > --- a/libpostproc/postprocess.h > +++ b/libpostproc/postprocess.h > @@ -67,13 +67,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], looks ok Janne ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel
[libav-devel] [PATCH] libpostproc: Remove crufty code disabled by the big bump.
--- 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 73ffcb4..d7c99e2 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -695,11 +695,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" "FiltersOptions\n" "short long name short long option Description\n" diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index 9e74589..fe8c9b9 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -67,13 +67,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.1 ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel