Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
439902e0
Commit
439902e0
authored
Oct 25, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/
Also fix a comment and an #endif comment.
parent
d010e95f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
math.h
compat/aix/math.h
+5
-6
math.h
compat/tms470/math.h
+5
-0
w32pthreads.h
compat/w32pthreads.h
+3
-3
cpu.h
libavutil/arm/cpu.h
+1
-1
No files found.
compat/aix/math.h
View file @
439902e0
/*
/* Work around the class() function in AIX math.h clashing with identifiers
* Workaround aix-specific class() function clashing with libav class usage
* named "class". */
*/
#ifndef COMPAT_AIX_MATH_H
#ifndef
LIBAV_
COMPAT_AIX_MATH_H
#define COMPAT_AIX_MATH_H
#define
LIBAV_
COMPAT_AIX_MATH_H
#define class class_in_math_h_causes_problems
#define class class_in_math_h_causes_problems
...
@@ -11,4 +10,4 @@
...
@@ -11,4 +10,4 @@
#undef class
#undef class
#endif
/* COMPAT_AIX_MATH_H */
#endif
/*
LIBAV_
COMPAT_AIX_MATH_H */
compat/tms470/math.h
View file @
439902e0
#ifndef LIBAV_COMPAT_TMS470_MATH_H
#define LIBAV_COMPAT_TMS470_MATH_H
#include_next <math.h>
#include_next <math.h>
#undef INFINITY
#undef INFINITY
...
@@ -5,3 +8,5 @@
...
@@ -5,3 +8,5 @@
#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
#define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 }))
#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 }))
#define NAN (*(const float*)((const unsigned []){ 0x7fc00000 }))
#endif
/* LIBAV_COMPAT_TMS470_MATH_H */
compat/w32pthreads.h
View file @
439902e0
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
* w32threads to pthreads wrapper
* w32threads to pthreads wrapper
*/
*/
#ifndef LIBAV_W32PTHREADS_H
#ifndef LIBAV_
COMPAT_
W32PTHREADS_H
#define LIBAV_W32PTHREADS_H
#define LIBAV_
COMPAT_
W32PTHREADS_H
/* Build up a pthread-like API using underlying Windows API. Have only static
/* Build up a pthread-like API using underlying Windows API. Have only static
* methods so as to not conflict with a potentially linked in pthread-win32
* methods so as to not conflict with a potentially linked in pthread-win32
...
@@ -276,4 +276,4 @@ static void w32thread_init(void)
...
@@ -276,4 +276,4 @@ static void w32thread_init(void)
}
}
#endif
/* LIBAV_W32PTHREADS_H */
#endif
/* LIBAV_
COMPAT_
W32PTHREADS_H */
libavutil/arm/cpu.h
View file @
439902e0
...
@@ -29,4 +29,4 @@
...
@@ -29,4 +29,4 @@
#define have_vfpv3(flags) (HAVE_VFPV3 && ((flags) & AV_CPU_FLAG_VFPV3))
#define have_vfpv3(flags) (HAVE_VFPV3 && ((flags) & AV_CPU_FLAG_VFPV3))
#define have_neon(flags) (HAVE_NEON && ((flags) & AV_CPU_FLAG_NEON))
#define have_neon(flags) (HAVE_NEON && ((flags) & AV_CPU_FLAG_NEON))
#endif
#endif
/* AVUTIL_ARM_CPU_H */
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