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
742d87d6
Commit
742d87d6
authored
Sep 08, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed os_support.h
Originally committed as revision 2227 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ca4a77c5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
dsputil.h
libavcodec/dsputil.h
+6
-0
opts.c
libavcodec/opts.c
+19
-3
resample.c
libavcodec/resample.c
+0
-1
No files found.
libavcodec/dsputil.h
View file @
742d87d6
...
@@ -492,4 +492,10 @@ static inline long int lrintf(float x)
...
@@ -492,4 +492,10 @@ static inline long int lrintf(float x)
}
}
#endif
#endif
#if defined(CONFIG_OS2) || defined(CONFIG_SUNOS)
static
inline
float
floorf
(
float
f
)
{
return
floor
(
f
);
}
#endif
#endif
#endif
libavcodec/opts.c
View file @
742d87d6
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
*/
*/
#include "avcodec.h"
#include "avcodec.h"
#include "os_support.h"
const
AVOption
avoptions_common
[]
=
{
const
AVOption
avoptions_common
[]
=
{
AVOPTION_CODEC_FLAG
(
"bit_exact"
,
"use only bit-exact stuff"
,
flags
,
CODEC_FLAG_BITEXACT
,
0
),
AVOPTION_CODEC_FLAG
(
"bit_exact"
,
"use only bit-exact stuff"
,
flags
,
CODEC_FLAG_BITEXACT
,
0
),
...
@@ -40,15 +39,32 @@ const AVOption avoptions_workaround_bug[] = {
...
@@ -40,15 +39,32 @@ const AVOption avoptions_workaround_bug[] = {
AVOPTION_END
()
AVOPTION_END
()
};
};
/* avoid compatibility problems by redefining it */
static
int
av_strcasecmp
(
const
char
*
s1
,
const
char
*
s2
)
{
signed
char
val
;
for
(;;)
{
val
=
toupper
(
*
s1
)
-
toupper
(
*
s2
);
if
(
val
!=
0
)
break
;
if
(
*
s1
!=
'\0'
)
break
;
s1
++
;
s2
++
;
}
return
val
;
}
static
int
parse_bool
(
const
AVOption
*
c
,
char
*
s
,
int
*
var
)
static
int
parse_bool
(
const
AVOption
*
c
,
char
*
s
,
int
*
var
)
{
{
int
b
=
1
;
/* by default -on- when present */
int
b
=
1
;
/* by default -on- when present */
if
(
s
)
{
if
(
s
)
{
if
(
!
strcasecmp
(
s
,
"off"
)
||
!
strcasecmp
(
s
,
"false"
)
if
(
!
av_strcasecmp
(
s
,
"off"
)
||
!
av_
strcasecmp
(
s
,
"false"
)
||
!
strcmp
(
s
,
"0"
))
||
!
strcmp
(
s
,
"0"
))
b
=
0
;
b
=
0
;
else
if
(
!
strcasecmp
(
s
,
"on"
)
||
!
strcasecmp
(
s
,
"true"
)
else
if
(
!
av_strcasecmp
(
s
,
"on"
)
||
!
av_
strcasecmp
(
s
,
"true"
)
||
!
strcmp
(
s
,
"1"
))
||
!
strcmp
(
s
,
"1"
))
b
=
1
;
b
=
1
;
else
else
...
...
libavcodec/resample.c
View file @
742d87d6
...
@@ -23,7 +23,6 @@
...
@@ -23,7 +23,6 @@
*/
*/
#include "avcodec.h"
#include "avcodec.h"
#include "os_support.h"
typedef
struct
{
typedef
struct
{
/* fractional resampling */
/* fractional resampling */
...
...
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