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
be78e3f6
Commit
be78e3f6
authored
Dec 07, 2011
by
Tomas Härdin
Committed by
Janne Grunau
Jan 22, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxfdec: parse ThisPartition
Signed-off-by:
Janne Grunau
<
janne-libav@jannau.net
>
parent
775d3b4a
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 @
be78e3f6
...
...
@@ -78,6 +78,7 @@ typedef struct {
uint64_t
previous_partition
;
int
index_sid
;
int
body_sid
;
int64_t
this_partition
;
}
MXFPartition
;
typedef
struct
{
...
...
@@ -467,7 +468,8 @@ static int mxf_read_partition_pack(void *arg, AVIOContext *pb, int tag, int size
/* consider both footers to be closed (there is only Footer and CompleteFooter) */
partition
->
closed
=
partition
->
type
==
Footer
||
!
(
uid
[
14
]
&
1
);
partition
->
complete
=
uid
[
14
]
>
2
;
avio_skip
(
pb
,
16
);
avio_skip
(
pb
,
8
);
partition
->
this_partition
=
avio_rb64
(
pb
);
partition
->
previous_partition
=
avio_rb64
(
pb
);
footer_partition
=
avio_rb64
(
pb
);
avio_skip
(
pb
,
16
);
...
...
@@ -486,8 +488,9 @@ static int mxf_read_partition_pack(void *arg, AVIOContext *pb, int tag, int size
}
}
av_dlog
(
mxf
->
fc
,
"PartitionPack: PreviousPartition = 0x%lx, "
av_dlog
(
mxf
->
fc
,
"PartitionPack:
ThisPartition = 0x%lx,
PreviousPartition = 0x%lx, "
"FooterPartition = 0x%lx, IndexSID = %i, BodySID = %i
\n
"
,
partition
->
this_partition
,
partition
->
previous_partition
,
footer_partition
,
partition
->
index_sid
,
partition
->
body_sid
);
...
...
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