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
4d5e7ab5
Commit
4d5e7ab5
authored
Jul 04, 2011
by
Clément Bœsch
Committed by
Ronald S. Bultje
Jul 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxfenc: fix ignored drop flag in binary timecode representation.
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
6cbf2420
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mxfenc.c
libavformat/mxfenc.c
+1
-1
No files found.
libavformat/mxfenc.c
View file @
4d5e7ab5
...
...
@@ -1539,7 +1539,7 @@ static const uint8_t system_metadata_package_set_key[] = { 0x06,0x0E,0x2B,0x34,0
static
uint32_t
ff_framenum_to_12m_time_code
(
unsigned
frame
,
int
drop
,
int
fps
)
{
return
(
0
<<
31
)
|
// color frame flag
(
0
<<
30
)
|
// drop frame flag
(
drop
<<
30
)
|
// drop frame flag
(
((
frame
%
fps
)
/
10
)
<<
28
)
|
// tens of frames
(
((
frame
%
fps
)
%
10
)
<<
24
)
|
// units of frames
(
0
<<
23
)
|
// field phase (NTSC), b0 (PAL)
...
...
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