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
c495f4ff
Commit
c495f4ff
authored
Oct 21, 2016
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/mxfdec: Fix mixed declaration and code
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
a92f8edf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mxfdec.c
libavformat/mxfdec.c
+5
-2
No files found.
libavformat/mxfdec.c
View file @
c495f4ff
...
...
@@ -1861,8 +1861,9 @@ static int mxf_add_metadata_stream(MXFContext *mxf, MXFTrack *track)
const
MXFCodecUL
*
codec_ul
=
NULL
;
MXFPackage
tmp_package
;
AVStream
*
st
;
int
j
;
for
(
int
j
=
0
;
j
<
track
->
sequence
->
structural_components_count
;
j
++
)
{
for
(
j
=
0
;
j
<
track
->
sequence
->
structural_components_count
;
j
++
)
{
component
=
mxf_resolve_sourceclip
(
mxf
,
&
track
->
sequence
->
structural_components_refs
[
j
]);
if
(
!
component
)
continue
;
...
...
@@ -2668,10 +2669,12 @@ static int is_pcm(enum AVCodecID codec_id)
static
AVStream
*
mxf_get_opatom_stream
(
MXFContext
*
mxf
)
{
int
i
;
if
(
mxf
->
op
!=
OPAtom
)
return
NULL
;
for
(
i
nt
i
=
0
;
i
<
mxf
->
fc
->
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
mxf
->
fc
->
nb_streams
;
i
++
)
{
if
(
mxf
->
fc
->
streams
[
i
]
->
codecpar
->
codec_type
==
AVMEDIA_TYPE_DATA
)
continue
;
return
mxf
->
fc
->
streams
[
i
];
...
...
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