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
3981f262
Commit
3981f262
authored
Dec 09, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mxfdec: fix indentation
parent
34cab708
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mxfdec.c
libavformat/mxfdec.c
+9
-9
No files found.
libavformat/mxfdec.c
View file @
3981f262
...
...
@@ -2070,15 +2070,15 @@ static int mxf_parse_physical_source_package(MXFContext *mxf, MXFTrack *source_t
continue
;
}
if
(
physical_track
->
edit_rate
.
num
<=
0
||
physical_track
->
edit_rate
.
den
<=
0
)
{
av_log
(
mxf
->
fc
,
AV_LOG_WARNING
,
"Invalid edit rate (%d/%d) found on structural"
" component #%d, defaulting to 25/1
\n
"
,
physical_track
->
edit_rate
.
num
,
physical_track
->
edit_rate
.
den
,
i
);
physical_track
->
edit_rate
=
(
AVRational
){
25
,
1
};
}
if
(
physical_track
->
edit_rate
.
num
<=
0
||
physical_track
->
edit_rate
.
den
<=
0
)
{
av_log
(
mxf
->
fc
,
AV_LOG_WARNING
,
"Invalid edit rate (%d/%d) found on structural"
" component #%d, defaulting to 25/1
\n
"
,
physical_track
->
edit_rate
.
num
,
physical_track
->
edit_rate
.
den
,
i
);
physical_track
->
edit_rate
=
(
AVRational
){
25
,
1
};
}
for
(
k
=
0
;
k
<
physical_track
->
sequence
->
structural_components_count
;
k
++
)
{
if
(
!
(
mxf_tc
=
mxf_resolve_timecode_component
(
mxf
,
&
physical_track
->
sequence
->
structural_components_refs
[
k
])))
...
...
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