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
dfc58c5d
Commit
dfc58c5d
authored
Jan 08, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused av_frac_set
Originally committed as revision 7430 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
702dfe01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
utils.c
libavformat/utils.c
+0
-10
No files found.
libavformat/utils.c
View file @
dfc58c5d
...
...
@@ -32,7 +32,6 @@
static
void
av_frac_init
(
AVFrac
*
f
,
int64_t
val
,
int64_t
num
,
int64_t
den
);
static
void
av_frac_add
(
AVFrac
*
f
,
int64_t
incr
);
static
void
av_frac_set
(
AVFrac
*
f
,
int64_t
val
);
/** head of registered input format linked list. */
AVInputFormat
*
first_iformat
=
NULL
;
...
...
@@ -3079,15 +3078,6 @@ static void av_frac_init(AVFrac *f, int64_t val, int64_t num, int64_t den)
f
->
den
=
den
;
}
/**
* Set f to (val + 0.5).
*/
static
void
av_frac_set
(
AVFrac
*
f
,
int64_t
val
)
{
f
->
val
=
val
;
f
->
num
=
f
->
den
>>
1
;
}
/**
* Fractionnal addition to f: f = f + (incr / f->den).
*
...
...
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