From d578ea7c2510b43105f1da99fcf4303009f5e425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 5 Jul 2006 22:11:34 +0000 Subject: Add definition of PIC in presence of __PIC__ or __pic__, to fix building of FFmpeg code on PIE-enabled systems. The change is already committed in FFmpeg's SVN. CVS patchset: 8090 CVS date: 2006/07/05 22:11:34 --- src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libffmpeg/libavcodec') diff --git a/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h b/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h index bab4c841c..3d19c694b 100644 --- a/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h +++ b/src/libffmpeg/libavcodec/libpostproc/postprocess_internal.h @@ -58,6 +58,10 @@ #define TEMP_NOISE_FILTER 0x100000 #define FORCE_QUANT 0x200000 +#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC) +# define PIC +#endif + //use if u want a faster postprocessing code //cant differentiate between chroma & luma filters (both on or both off) //obviosly the -pp option at the commandline has no effect except turning the here selected -- cgit v1.2.3