Browse Source

Make ffmpeg better support pic - from Diego Pettenò <flameeyes@gentoo.org>

Originally committed as revision 5631 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Luca Barbato 19 years ago
parent
commit
24dd8c616d
2 changed files with 8 additions and 0 deletions
  1. +4
    -0
      libavutil/common.h
  2. +4
    -0
      libpostproc/postprocess_internal.h

+ 4
- 0
libavutil/common.h View File

@@ -18,6 +18,10 @@
#define M_PI 3.14159265358979323846
#endif

#if ( defined(__PIC__) || defined(__pic__) ) && ! defined(PIC)
# define PIC
#endif

#ifdef HAVE_AV_CONFIG_H
/* only include the following when compiling package */
# include "config.h"


+ 4
- 0
libpostproc/postprocess_internal.h View File

@@ -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


Loading…
Cancel
Save