indentation

Originally committed as revision 7046 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 18 years ago
parent 18451f7df9
commit 635eb0cc3d
  1. 34
      libavutil/internal.h

@ -30,9 +30,9 @@
# define PIC # define PIC
#endif #endif
# ifndef ENODATA #ifndef ENODATA
# define ENODATA 61 # define ENODATA 61
# endif #endif
#include "bswap.h" #include "bswap.h"
@ -57,23 +57,23 @@
#elif defined (CONFIG_OS2) #elif defined (CONFIG_OS2)
/* OS/2 EMX */ /* OS/2 EMX */
#include <float.h> # include <float.h>
#endif /* !__MINGW32__ && CONFIG_OS2 */ #endif /* !__MINGW32__ && CONFIG_OS2 */
# ifdef USE_FASTMEMCPY #ifdef USE_FASTMEMCPY
# include "libvo/fastmemcpy.h" # include "libvo/fastmemcpy.h"
# endif #endif
// Use rip-relative addressing if compiling PIC code on x86-64. // Use rip-relative addressing if compiling PIC code on x86-64.
# if defined(__MINGW32__) || defined(__CYGWIN__) || \ #if defined(__MINGW32__) || defined(__CYGWIN__) || \
defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__)) defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__))
# if defined(ARCH_X86_64) && defined(PIC) # if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) "_" #a"(%%rip)" # define MANGLE(a) "_" #a"(%%rip)"
# else # else
# define MANGLE(a) "_" #a # define MANGLE(a) "_" #a
# endif # endif
# else #else
# if defined(ARCH_X86_64) && defined(PIC) # if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) #a"(%%rip)" # define MANGLE(a) #a"(%%rip)"
# elif defined(CONFIG_DARWIN) # elif defined(CONFIG_DARWIN)
@ -81,27 +81,27 @@
# else # else
# define MANGLE(a) #a # define MANGLE(a) #a
# endif # endif
# endif #endif
/* debug stuff */ /* debug stuff */
# if !defined(DEBUG) && !defined(NDEBUG) #if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG # define NDEBUG
# endif #endif
# include <assert.h> #include <assert.h>
/* dprintf macros */ /* dprintf macros */
# ifdef DEBUG #ifdef DEBUG
# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__) # define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
# else #else
# define dprintf(fmt,...) # define dprintf(fmt,...)
# endif #endif
# ifdef CONFIG_WINCE #ifdef CONFIG_WINCE
# define abort() # define abort()
# endif #endif
# define av_abort() do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0) #define av_abort() do { av_log(NULL, AV_LOG_ERROR, "Abort at %s:%d\n", __FILE__, __LINE__); abort(); } while (0)
extern const uint32_t ff_inverse[256]; extern const uint32_t ff_inverse[256];

Loading…
Cancel
Save