[FFmpeg-cvslog] libpostproc: Remove crufty code disabled by the big bump.

Diego Biurrun git at videolan.org
Thu Apr 21 03:40:32 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Apr 19 21:53:48 2011 +0200| [a81ff195c15ccfa34f25b7b753c2e5438fe8939e] | committer: Diego Biurrun

libpostproc: Remove crufty code disabled by the big bump.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a81ff195c15ccfa34f25b7b753c2e5438fe8939e
---

 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"
 "Filters                        Options\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],



More information about the ffmpeg-cvslog mailing list