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
38360668
Commit
38360668
authored
Sep 08, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DEFAULT_FRAME_RATE_BASE.
Originally committed as revision 15265 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
23694e27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
avcodec.h
libavcodec/avcodec.h
+0
-2
utils.c
libavcodec/utils.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
38360668
...
...
@@ -798,8 +798,6 @@ typedef struct AVFrame {
FF_COMMON_FRAME
}
AVFrame
;
#define DEFAULT_FRAME_RATE_BASE 1001000
/**
* main external API structure.
* New fields can be added to the end with minor version bumps.
...
...
libavcodec/utils.c
View file @
38360668
...
...
@@ -1492,7 +1492,7 @@ int av_parse_video_frame_rate(AVRational *frame_rate, const char *arg)
}
else
{
/* Finally we give up and parse it as double */
AVRational
time_base
=
av_d2q
(
strtod
(
arg
,
0
),
DEFAULT_FRAME_RATE_BASE
);
AVRational
time_base
=
av_d2q
(
strtod
(
arg
,
0
),
1001000
);
frame_rate
->
den
=
time_base
.
den
;
frame_rate
->
num
=
time_base
.
num
;
}
...
...
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