Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
635eb0cc
Commit
635eb0cc
authored
Nov 14, 2006
by
Måns Rullgård
Browse files
indentation
Originally committed as revision 7046 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
18451f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
+35
-35
libavutil/internal.h
libavutil/internal.h
+35
-35
No files found.
libavutil/internal.h
View file @
635eb0cc
...
...
@@ -30,15 +30,15 @@
# define PIC
#endif
#
ifndef ENODATA
#
define ENODATA 61
#
endif
#ifndef ENODATA
# define ENODATA 61
#endif
#include "bswap.h"
#include <stddef.h>
#ifndef offsetof
# define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
#
define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))
#endif
#ifdef __MINGW32__
...
...
@@ -57,51 +57,51 @@
#elif defined (CONFIG_OS2)
/* OS/2 EMX */
#include <float.h>
#
include <float.h>
#endif
/* !__MINGW32__ && CONFIG_OS2 */
#
ifdef USE_FASTMEMCPY
#
include "libvo/fastmemcpy.h"
#
endif
#ifdef USE_FASTMEMCPY
# include "libvo/fastmemcpy.h"
#endif
// Use rip-relative addressing if compiling PIC code on x86-64.
# if defined(__MINGW32__) || defined(__CYGWIN__) || \
defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__))
# if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) "_" #a"(%%rip)"
# else
# define MANGLE(a) "_" #a
# endif
#if defined(__MINGW32__) || defined(__CYGWIN__) || \
defined(__OS2__) || (defined (__OpenBSD__) && !defined(__ELF__))
# if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) "_" #a"(%%rip)"
# else
# if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) #a"(%%rip)"
# elif defined(CONFIG_DARWIN)
# define MANGLE(a) "_" #a
# else
# define MANGLE(a) #a
# endif
# define MANGLE(a) "_" #a
# endif
#else
# if defined(ARCH_X86_64) && defined(PIC)
# define MANGLE(a) #a"(%%rip)"
# elif defined(CONFIG_DARWIN)
# define MANGLE(a) "_" #a
# else
# define MANGLE(a) #a
# endif
#endif
/* debug stuff */
#
if !defined(DEBUG) && !defined(NDEBUG)
#
define NDEBUG
#
endif
#
include <assert.h>
#if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
#endif
#include <assert.h>
/* dprintf macros */
#
ifdef DEBUG
#
define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
#
else
#
define dprintf(fmt,...)
#
endif
#ifdef DEBUG
# define dprintf(fmt,...) av_log(NULL, AV_LOG_DEBUG, fmt, __VA_ARGS__)
#else
# define dprintf(fmt,...)
#endif
#
ifdef CONFIG_WINCE
#
define abort()
#
endif
#ifdef CONFIG_WINCE
# define abort()
#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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment