--- /dev/null
+--- transcode-1.1.5/filter/filter_pp.c.orig 2012-04-30 12:17:34.732045838 +0200
++++ transcode-1.1.5/filter/filter_pp.c 2012-04-30 12:23:21.942284917 +0200
+@@ -38,8 +38,13 @@
+
+ /* FIXME: these use the filter ID as an index--the ID can grow
+ * arbitrarily large, so this needs to be fixed */
++#if LIBPOSTPROC_VERSION_INT < (52<<16)
+ static pp_mode_t *mode[100];
+ static pp_context_t *context[100];
++#else
++static pp_mode *mode[100];
++static pp_context *context[100];
++#endif
+ static int width[100], height[100];
+ static int pre[100];
+
Patch1: %{name}-ImageMagick.patch
Patch2: %{name}-mpa.patch
Patch3: %{name}-ffmpeg.patch
+Patch4: libpostproc52.patch
URL: http://tcforge.berlios.de/
%{?with_im:BuildRequires: ImageMagick-devel >= 6.4.1-2}
%{?with_sdl:BuildRequires: SDL-devel >= 1.1.6}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__libtoolize}