[FFmpeg-devel] [PATCH] libpostprocess: remove cruft from before major bump.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Jan 30 19:18:48 CET 2012


Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at 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



More information about the ffmpeg-devel mailing list