Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
90bc36b0
Commit
90bc36b0
authored
14 years ago
by
Ronald S. Bultje
Browse files
Options
Downloads
Patches
Plain Diff
Reindent after r22968.
Originally committed as revision 22969 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ad640896
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavutil/common.h
+4
-4
4 additions, 4 deletions
libavutil/common.h
with
4 additions
and
4 deletions
libavutil/common.h
+
4
−
4
View file @
90bc36b0
...
...
@@ -119,7 +119,7 @@ static inline av_const int av_clip(int a, int amin, int amax)
static
inline
av_const
uint8_t
av_clip_uint8
(
int
a
)
{
if
(
a
&
(
~
0xFF
))
return
(
-
a
)
>>
31
;
else
return
a
;
else
return
a
;
}
/**
...
...
@@ -130,7 +130,7 @@ static inline av_const uint8_t av_clip_uint8(int a)
static
inline
av_const
uint16_t
av_clip_uint16
(
int
a
)
{
if
(
a
&
(
~
0xFFFF
))
return
(
-
a
)
>>
31
;
else
return
a
;
else
return
a
;
}
/**
...
...
@@ -141,7 +141,7 @@ static inline av_const uint16_t av_clip_uint16(int a)
static
inline
av_const
int16_t
av_clip_int16
(
int
a
)
{
if
((
a
+
0x8000
)
&
~
0xFFFF
)
return
(
a
>>
31
)
^
0x7FFF
;
else
return
a
;
else
return
a
;
}
/**
...
...
@@ -152,7 +152,7 @@ static inline av_const int16_t av_clip_int16(int a)
static
inline
av_const
int32_t
av_clipl_int32
(
int64_t
a
)
{
if
((
a
+
0x80000000u
)
&
~
UINT64_C
(
0xFFFFFFFF
))
return
(
a
>>
63
)
^
0x7FFFFFFF
;
else
return
a
;
else
return
a
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment