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
9d210bb4
Commit
9d210bb4
authored
Nov 07, 2006
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
Originally committed as revision 6934 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
80d617f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mpeg12.c
libavcodec/mpeg12.c
+1
-1
No files found.
libavcodec/mpeg12.c
View file @
9d210bb4
...
...
@@ -362,7 +362,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s)
/* only works for NTSC 29.97 */
int
d
=
time_code
/
17982
;
int
m
=
time_code
%
17982
;
//if (m < 2) m += 2; /* not needed since -2,-1 /
2
in C returns 0 */
//if (m < 2) m += 2; /* not needed since -2,-1 /
1798
in C returns 0 */
time_code
+=
18
*
d
+
2
*
((
m
-
2
)
/
1798
);
}
put_bits
(
&
s
->
pb
,
5
,
(
uint32_t
)((
time_code
/
(
fps
*
3600
))
%
24
));
...
...
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