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
a5dbb247
Commit
a5dbb247
authored
Mar 01, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing inaccurate frame_rate
Originally committed as revision 1616 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
17938602
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
avcodec.h
libavcodec/avcodec.h
+1
-1
mpeg12data.h
libavcodec/mpeg12data.h
+8
-8
No files found.
libavcodec/avcodec.h
View file @
a5dbb247
...
...
@@ -169,7 +169,7 @@ static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG,
#define CODEC_CAP_PARSE_ONLY 0x0004
#define CODEC_CAP_TRUNCATED 0x0008
#define FRAME_RATE_BASE 100
0
0
#define FRAME_RATE_BASE 100
1
0
#define FF_COMMON_FRAME \
uint8_t *data[4];\
...
...
libavcodec/mpeg12data.h
View file @
a5dbb247
...
...
@@ -386,14 +386,14 @@ static const uint8_t mbMotionVectorTable[17][2] = {
static
const
int
frame_rate_tab
[
9
]
=
{
0
,
(
int
)(
23
.
976
*
FRAME_RATE_BASE
),
(
int
)(
24
*
FRAME_RATE_BASE
),
(
int
)(
25
*
FRAME_RATE_BASE
),
(
int
)(
29
.
97
*
FRAME_RATE_BASE
),
(
int
)(
30
*
FRAME_RATE_BASE
),
(
int
)(
50
*
FRAME_RATE_BASE
),
(
int
)(
59
.
94
*
FRAME_RATE_BASE
),
(
int
)(
60
*
FRAME_RATE_BASE
),
24000
*
FRAME_RATE_BASE
/
1001
,
24000
*
FRAME_RATE_BASE
/
1000
,
25000
*
FRAME_RATE_BASE
/
1000
,
30000
*
FRAME_RATE_BASE
/
1001
,
30000
*
FRAME_RATE_BASE
/
1000
,
50000
*
FRAME_RATE_BASE
/
1000
,
60000
*
FRAME_RATE_BASE
/
1001
,
60000
*
FRAME_RATE_BASE
/
1000
,
};
static
const
uint8_t
non_linear_qscale
[
32
]
=
{
...
...
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