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
6b2bb3d2
Commit
6b2bb3d2
authored
Jul 22, 2015
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetics: Reindent after last commit.
parent
35b33f1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mxfdec.c
libavformat/mxfdec.c
+7
-7
No files found.
libavformat/mxfdec.c
View file @
6b2bb3d2
...
...
@@ -2048,13 +2048,13 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
st
->
codec
->
codec_tag
=
mxf_get_codec_ul
(
ff_mxf_codec_tag_uls
,
&
descriptor
->
essence_codec_ul
)
->
id
;
if
(
!
st
->
codec
->
codec_tag
)
{
/* support files created before RP224v10 by defaulting to UYVY422
if subsampling is 4:2:2 and component depth is 8-bit */
if
(
descriptor
->
horiz_subsampling
==
2
&&
descriptor
->
vert_subsampling
==
1
&&
descriptor
->
component_depth
==
8
)
{
st
->
codec
->
pix_fmt
=
AV_PIX_FMT_UYVY422
;
}
/* support files created before RP224v10 by defaulting to UYVY422
if subsampling is 4:2:2 and component depth is 8-bit */
if
(
descriptor
->
horiz_subsampling
==
2
&&
descriptor
->
vert_subsampling
==
1
&&
descriptor
->
component_depth
==
8
)
{
st
->
codec
->
pix_fmt
=
AV_PIX_FMT_UYVY422
;
}
}
}
}
...
...
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