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
d1b5ad39
Commit
d1b5ad39
authored
Oct 29, 2014
by
Thomas Mundt
Committed by
Michael Niedermayer
Oct 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxfenc: fix indentation after last commit
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a8605be3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
mxfenc.c
libavformat/mxfenc.c
+9
-9
No files found.
libavformat/mxfenc.c
View file @
d1b5ad39
...
...
@@ -998,17 +998,17 @@ static void mxf_write_mpegvideo_desc(AVFormatContext *s, AVStream *st)
int
profile_and_level
=
(
st
->
codec
->
profile
<<
4
)
|
st
->
codec
->
level
;
if
(
st
->
codec
->
codec_id
!=
AV_CODEC_ID_H264
)
{
mxf_write_cdci_common
(
s
,
st
,
mxf_mpegvideo_descriptor_key
,
8
+
5
);
mxf_write_cdci_common
(
s
,
st
,
mxf_mpegvideo_descriptor_key
,
8
+
5
);
// bit rate
mxf_write_local_tag
(
pb
,
4
,
0x8000
);
avio_wb32
(
pb
,
sc
->
video_bit_rate
);
// bit rate
mxf_write_local_tag
(
pb
,
4
,
0x8000
);
avio_wb32
(
pb
,
sc
->
video_bit_rate
);
// profile and level
mxf_write_local_tag
(
pb
,
1
,
0x8007
);
if
(
!
st
->
codec
->
profile
)
profile_and_level
|=
0x80
;
// escape bit
avio_w8
(
pb
,
profile_and_level
);
// profile and level
mxf_write_local_tag
(
pb
,
1
,
0x8007
);
if
(
!
st
->
codec
->
profile
)
profile_and_level
|=
0x80
;
// escape bit
avio_w8
(
pb
,
profile_and_level
);
}
else
{
mxf_write_cdci_common
(
s
,
st
,
mxf_mpegvideo_descriptor_key
,
0
);
}
...
...
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