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
c2c06678
Commit
c2c06678
authored
Oct 21, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavformat/mxfenc: add {} to complex ifs
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b8a64d69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mxfenc.c
libavformat/mxfenc.c
+4
-4
No files found.
libavformat/mxfenc.c
View file @
c2c06678
...
...
@@ -1700,16 +1700,16 @@ static int mxf_write_header(AVFormatContext *s)
if
(
ret
<
0
)
return
ret
;
if
(
s
->
oformat
==
&
ff_mxf_d10_muxer
)
{
if
(
st
->
codec
->
bit_rate
==
50000000
)
if
(
st
->
codec
->
bit_rate
==
50000000
)
{
if
(
mxf
->
time_base
.
den
==
25
)
sc
->
index
=
3
;
else
sc
->
index
=
5
;
else
if
(
st
->
codec
->
bit_rate
==
40000000
)
}
else
if
(
st
->
codec
->
bit_rate
==
40000000
)
{
if
(
mxf
->
time_base
.
den
==
25
)
sc
->
index
=
7
;
else
sc
->
index
=
9
;
else
if
(
st
->
codec
->
bit_rate
==
30000000
)
}
else
if
(
st
->
codec
->
bit_rate
==
30000000
)
{
if
(
mxf
->
time_base
.
den
==
25
)
sc
->
index
=
11
;
else
sc
->
index
=
13
;
else
{
}
else
{
av_log
(
s
,
AV_LOG_ERROR
,
"error MXF D-10 only support 30/40/50 mbit/s
\n
"
);
return
-
1
;
}
...
...
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